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"
npm install and it should work correctly
Related External Links: