文章目录
- 1. 问题现象
- 2.解决方案
1. 问题现象
0 info it worked if it ends with ok
1 verbose cli [ 'D:\\ProgramFiles\\nodejs\\node.exe',
1 verbose cli 'D:\\ProgramFiles\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'cnpm' ]
2 info using npm@6.4.1
3 info using node@v10.14.2
4 verbose npm-session 8aee9e86c179f439
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 timing npm Completed in 616ms
8 error cb() never called!
9 error This is an error with npm itself. Please report this error at:
10 error <https://npm.community>
16162 silly extract @types/node@* extracted to C:\Users\Administrator.DESKTOP-AJM3DOU\AppData\Roaming\npm\node_modules\.staging\@types\node-15b3941f (2284ms)
16163 timing npm Completed in 251666ms
16164 error cb() never called!
16165 error This is an error with npm itself. Please report this error at:
16166 error <https://npm.community>
2.解决方案
删除代理:
npm config rm proxy
npm config rm https-proxy