node.js - sudo npm install -g ionic on Mac -


i able install node on mac , cordova

when run

node -v 

it gives v0.12.2.

and npm -v 2.7.4

and cordova -v 5.0.0.

now tried sudo npm install -g ionic gives me error

network read econnresset

network if behind proxy , please make sure proxy , on

i have no idea how set proxy.

i having same problem on windows 8 (64 bit)

solution:

don't forget install other dependencies before installing ionic http://ionicframework.com/docs/guide/installation.html

1) uninstall node control panel

2) restart pc

3) download (msi installer) older version of node http://nodejs.org/dist/v0.10.38/ , 64bit http://nodejs.org/dist/v0.10.38/x64/

4) install node version 0.10.38

5) npm install -g cordova

6) npm install -g ionic

done!


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -