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

Posted By Weston Ganger

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:

Article Topic:Software Development - Javascript

Date:December 09, 2015