求解~ 安装 forever 时一直报错是怎么回事
发布于 9 年前 作者 cuoluanleshiguang 4084 次浏览 最后一次编辑是 8 年前 来自 问答

npm ERR! Error: shasum check failed for /root/tmp/npm-32170-7zM0IPCg/1438147613376-0.28871482820250094/tmp.tgz npm ERR! Expected: 4353b88b7131797fb5520e39eba263df5863cba3 npm ERR! Actual: 98226159c5626583366ec32471f6ca5b0fe9cc08 npm ERR! at /usr/lib/node_modules/sha/index.js:38:8 npm ERR! at ReadStream.<anonymous> (/usr/lib/node_modules/sha/index.js:85:7) npm ERR! at ReadStream.emit (events.js:117:20) npm ERR! at _stream_readable.js:944:16 npm ERR! at process._tickCallback (node.js:442:13) npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Linux 3.10.0-123.el7.x86_64 npm ERR! command “node” “/usr/bin/npm” “install” “forever” "-g" npm ERR! cwd /root npm ERR! node -v v0.10.36 npm ERR! npm -v 1.3.6 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /root/npm-debug.log npm ERR! not ok code 0 [root@VM_18_166_centos ~]# npm ERR! Error: shasum check failed for /root/tmp/npm-32170-7zM0IPCg/1438147613376-0.28871482820250094/tmp.tgz npm ERR! Expected: 4353b88b7131797fb5520e39eba263df5863cba3 npm ERR! Actual: 98226159c5626583366ec32471f6ca5b0fe9cc08 npm ERR! at /usr/lib/node_modules/sha/index.js:38:8 npm ERR! at ReadStream.<anonymous> (/usr/lib/node_modules/sha/index.js:85:7) npm ERR! at ReadStream.emit (events.js:117:20) npm ERR! at _stream_readable.js:944:16 npm ERR! at process._tickCallback (node.js:442:13) npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com

npm ERR! System Linux 3.10.0-123.el7.x86_64

回到顶部