小编sne*_*egi的帖子

为什么npm抛出错误"安装@ angular/cli时校验和失败"?

我正在使用节点v6.11.5和npm 3.10.10以及64位操作系统,并且在安装@ angular/cli时我收到以下错误:

C:\WINDOWS\system32>npm install -g @angular/cli
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "@angular/cli"
npm ERR! node v6.11.5
npm ERR! npm  v3.10.10

npm ERR! shasum check failed for C:\Users\Shubham\AppData\Local\Temp\npm-6192-9e
acb63c\registry.npmjs.org\rxjs\-\rxjs-5.5.2.tgz
npm ERR! Expected: 28d403f0071121967f18ad665563255d54236ac3
npm ERR! Actual:   c2b697120c7dc0e6728da0e7636b90e15723cc24
npm ERR! From:     http://registry.npmjs.org/rxjs/-/rxjs-5.5.2.tgz
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! …
Run Code Online (Sandbox Code Playgroud)

node.js npm npm-install angular-cli angular

4
推荐指数
2
解决办法
1万
查看次数

标签 统计

angular ×1

angular-cli ×1

node.js ×1

npm ×1

npm-install ×1