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 


Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts