错误:npm不安装软件包

C:\Users\Wallay Masroof\Desktop\quickstart-master>npm install npm WARN deprecated express@2.5.11: express 2.x series is deprecated npm WARN deprecated connect@1.9.2: connect 1.x series is deprecated npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! node v6.11.4 npm ERR! npm v3.10.10 npm ERR! shasum check failed for C:\Users\WALLAY~1\AppData\Local\Temp\npm-11652-be3fdaea\registry.npmjs.org\jsprim\-\jsprim-1.4.1.tgz npm ERR! Expected: 313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2 npm ERR! Actual: b2b66a6002872c52d4a30a7f8208588eef541e5d npm ERR! From: https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.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! C:\Users\Wallay Masroof\Desktop\quickstart-master\npm-debug.log 

每当我尝试安装npm,它显示我这个错误。 它甚至没有安装在我从GitHub克隆的angular度快速启动中。

我尝试在我的Fedora上安装一切正常的东西,我也尝试在Windows 10上安装,并且进行得很顺利。

我build议你清理你的npmcaching

 npm cache clean 

如果有必要

 npm cache clean --force 

或者通过在以下位置删除npm-cache文件夹来采取更“暴力”的方式:

 %AppData%/npm-cache