NPM cannot install dependencies – Attempt to unlock something which hasn’t been locked
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 locked” on all my dependences. Here’s one of them: Error: Attempt to unlock tbd@~0.6.4, which hasn’t been locked at unlock (/usr/local/lib/node_modules/npm/lib/cache.js:1304:11) at cb (/usr/local/lib/node_modules/npm/lib/cache.js:646:5) at … Read more