Cannot find module 'npm' under Win10
See original GitHub issueI am getting the Error: Cannot find module 'npm' message
on Win10 when trying to install a plugin. I can see the list of available plugins, but can’t install any of them.
Things I’ve tried:
- Installed the latest nightly Win build (1.0.72)
- Confirmed that npm is in my %PATH%
- Typing
npm
commands in acmd
window work just fine. - Added
npm: 'C:\Program Files\nodejs\npm'
to my Terminus config file
No matter what I try, I still get the error when trying to install a plugin. Any ideas?
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
node.js - Nodejs cannot find installed module on Windows
The answer for windows 10 is to set the NODE_PATH in the enviroment variables with C:\Users\User\node_modules. Share.
Read more >Error Nodejs cannot find installed module on Windows
I am learning nodejs at the moment on Windows. Several modules are installed globally with npm.cmd, and nodejs failed to find the installed ......
Read more >Error: Cannot find module 'node-windows' #57 - GitHub
This sounds like a path problem with your node/npm install.
Read more >Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
Read more >node-gyp - npm
node -gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js. It contains a vendored ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Still getting this error on v1.0.79
Same error with Windows 7 and Terminus 1.0.72