猿问

升级node以后,无法npm install

1,升级了node到v10.13.0,然后初始化npm install 一直报错

不知道是什么问题
`0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install' ]
2 info using npm@6.4.1
3 info using node@v10.13.0
4 verbose npm-session e7ff37865c3a1e68
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall jinsen@1.0.0
7 info lifecycle jinsen@1.0.0~preinstall: jinsen@1.0.0
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 timing stage:loadCurrentTree Completed in 24224ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 67ms
14 silly install loadShrinkwrap
15 timing npm Completed in 25811ms
16 error cb() never called!
17 error This is an error with npm itself. Please report this error at:
18 error https://npm.community


RISEBY
浏览 1591回答 1
1回答

手掌心

卸载重新安装一下吧
随时随地看视频慕课网APP

相关分类

Node.js
我要回答