-1
我一直在努力解决这一个整天,并在我的智慧结束。module.js:471 throw err;
NPM不起作用,引发以下错误,每当我尝试任何事情与它:
C:\Users\Bernh\Desktop\Coding Projects> npm -v
module.js:471
throw err;
^
Error: Cannot find module 'inherits'
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\Bernh\AppData\Roaming\npm\node_modules\npm\node_modules\readable-stream\lib\_stream_readable.js:68:17)
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)
我曾尝试: -reinstalling的NodeJS -installing不同版本的NodeJS 的 - 运行任何NPM命令给出相同的错误
我已被推荐到stackoverfl的几个类似的答案ow,但这些不一样,因为每个人都使用npm来修复他们的npm ... npm什么都不做。
还有一些答案是为lunix命令行,我无法找到任何等效的命令为Windows。
我曾试图安装程序调用巧克力,但似乎并没有能够与故宫合作的安装/卸载
任何解决方案或建议吗?
Regards
https://stackoverflow.com/questions/19933077/running-npm-returns-error-cannot-find-module-inherits –
[Running“npm”可能重复“Error:Can not find module'inherits'” ](https://stackoverflow.com/questions/19933077/running-npm-returns-error-cannot-find-module-inherits) – DanFromGermany
@MarkoGrešak请更好地作为重复而不是只是downvoting重复投票 – DanFromGermany