I am Hack Sparrow
Captain of the Internets.

Two common Nodejs NPM Permission Denied errors on Linux

Permission Denied: '../lib/node_modules/npm/bin/npm-cli.js' You are likely to encounter this error when you try to install npm. Even chmodding '/lib/node_modules' recursively won't fix the problem. You get this error and npm just fails to install: [code] $ curl http://npmjs.org/install.sh | sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload ...