![](/img/trans.png)
[英]npm install not working, can't install any of the node modules after cloning my project from git
[英]Npm install not working in windows after node upgrade
昨晚我升級了Node.JS,此后我的npm安裝停止工作。 我已經卸載了Node並再次重新安裝了它,但這沒有用。 我正在使用Windows 8.1,節點-8.9.4和NPM-3.3.12。 以下是我在運行npm install時遇到的錯誤。
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Subrata\\AppData
\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v8.9.4
npm ERR! npm v3.3.12
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'internal/util/types'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! D:\1-NodeJSTest\CoreNodeJSTest\SimpleSessionTest\npm-debug.log
您的NPM可能已過時。 嘗試鍵入npm install -g npm
進行升級,然后關閉命令提示符並打開另一個命令提示符,然后嘗試再次進行npm install
。 如果這不起作用,請運行node --version
和npm --version
並將結果發布在此處的注釋中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.