I have a problem when I try to start an application using nodejs in Windows 10. Any time I use any npm command (by taking the -v) the following error is displayed
Error: Cannot find module 'verror' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (C:\Users\MyUser\AppData\Roaming\npm\node_modules\npm\node_modules\request\node_modules\http-signature\node_modules\jsprim\lib\jsprim.js:9:18) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\MyUser\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "start" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'verror'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
I have already configured the environment variables in the node paths
- C: \ Program Files \ nodejs
and npm
- C: \ Users \ MyUser \ AppData \ Roaming \ npm
Does anyone have an idea?