I\'ve been trying to run an npm install on my package.json file, but I\'m having a lot of trouble. It keeps saying \"Error: Attempt to unlock XXX, which hasn\'t been locke
None of this worked for me. I had to run literally as root by doing the following:
sudo su - sudo npm install forever -g
Then the package installed on Linux Ubuntu 14.04.