-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showing "Cannot find module 'find-npm-prefix'" error. #21829
Comments
Check your node environment variable and make sure your |
Hi @jenilChristo , Please help! |
Looks like you are on windows machine. |
Looks like a broken npm installation. While Try removing |
@bzoz you are correct, now it is working. Thanks for your help. |
Hello,
Node Version : v8.11.3
I am trying to install angular 6, but when I try to tun the command with NPM it throw the below error, I am not sure how to clear the "find-npm-prefix" error.
module.js:549 throw err; ^ Error: Cannot find module 'find-npm-prefix' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object.<anonymous> (C:\Users\love34\AppData\Roaming\npm\node_modules\npm\ lib\config\load-prefix.js:3:18) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3)
The text was updated successfully, but these errors were encountered: