Cannot read property 'statusCode' of undefined. cli.js:474

I begun trying ionicframework in my ElementaryOS Freya (Ubuntu OS based linux distro) and begun getting some errors.
I tried setting npm config set proxy … variable, and it worked.
Then I finally could execute sudo npm install -g cordova ionic

Now, I tried to start and follow a simple tutorial, but am getting an error when executing ionic start todo blank

Please check the screenshot. How should I solve this issue? Should i skip/ignore and continue?


What version of node and npm are you running? You can check by running the following:

$ node -v
$ npm -v

node -v
npm -v

Solved with:

sudo npm uninstall -g ionic
sudo npm install -g ionic
PROXY=http://proxy_ip:port ionic start todo
ionic platform add android
ionic build android