Nodejs

Fixing Npm ERR! Darwin And Argv "node" "/usr/local/bin/npm" "install"

Posted by Weston Ganger on December 09, 2015

I was getting this weird error when trying to run npm install. After a bit of searching I found the issue.

It has to do with some improper permissions on your users .npm folder.


sudo chown -R $(whoami) "$HOME/.npm"

Now run npm install and it should work correctly


Related External Links:


Posted in Node.js and Tagged with nodejs npm 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts