在执行npm安装时,显示错误shasum检查失败



我正试图在存储库中执行npm安装,但它显示了此错误几天前它工作得很好,但今天我收到了这个错误

npm ERR! Linux 5.4.0-70-generic
npm ERR! argv "/home/userName/.nvm/versions/node/v6.11.2/bin/node" "/home/userName/.nvm/versions/node/v6.11.2/bin/npm" "i"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! shasum check failed for /tmp/npm-21611-583a4ffd/registry.npmjs.org/has-gulplog/-/has-gulplog-0.1.0.tgz
npm ERR! Expected: 6414#82913697da51590397dafb12f22967811ce
npm ERR! Actual:   6414c82913697da51590397dafb12f22967811ce
npm ERR! From:     https://registry.npmjs.org/has-gulplog/-/has-gulplog-0.1.0.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!     /home/userName/repository/repositoryName/npm-debug.log

我认为带有npm的ny命令也不起作用,我不想升级我的nodejs和npm

尝试清除NPM缓存。(npm cache clean(

由于#的二进制值是0b00100011,而正确字符c的二进制值则是0b01100011(一位差(,因此预期的校验和中包含#表示某个位置的1位数据损坏(坏内存?坏硬盘?(。

相关内容

  • 没有找到相关文章

最新更新