Tuesday, November 11, 2014

npm update -g has broken npm

After install my NodeJS in my app directory on Mac OS X using this link http://nodejs.org

I tried running npm install -g ember-cli but with no luck. Then I search solutions and found a command to fix my problem


curl -L http://npmjs.org/install.sh | sudo sh

npm install npm -g --ca=null

No comments:

Post a Comment