This is my old home .. find me now at andyj.github.io

Error: ENOENT open with NPM install
Posted:

I started seeing the following error when installing/updating packages after an update to Node.js

npm ERR! Error: ENOENT, open '/usr/local/lib/node_modules/express/node_modules/connect/package.json' npm ERR! You may report this log at: npm ERR! npm ERR! or email it to: npm ERR!

After some digging around I cleared the NPM cache via the following command and got back on track:

$ npm cache clean

comments powered by Disqus
© AndyJarrett 2013 | RSS Feed