You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
Daans-MacBook-Pro:jvdb2015 daanaerts$ npm
module.js:340
throw err;
^
Error: Cannot find module './fs.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
The text was updated successfully, but these errors were encountered:
This is due to a conflict between using a Homebrew-installed node + packaged npm (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm), and trying to install a new Node with n over the top of it. Looks like you probably need to uninstall Node using both n and Homebrew's uninstall commands and then start over again with just n.
Also, this is not even remotely an npm issue. ;) Good luck!
Latest thing I did, before npm stopped working altogether and gives error 340
now every npm command returns
The text was updated successfully, but these errors were encountered: