NAE中用NPM安装模块出错
发布于 12 年前 作者 toobug 4284 次浏览 最后一次编辑是 8 年前

发现错误! Error: Command failed: npm http GET http://isaacs.iriscouch.com/registry/_design/app/_rewrite/ejs npm http 304 http://isaacs.iriscouch.com/registry/_design/app/_rewrite/ejs npm http GET http://isaacs.iriscouch.com/ejs/-/ejs-0.7.1.tgz npm http 404 http://isaacs.iriscouch.com/ejs/-/ejs-0.7.1.tgz

npm ERR! Error: shasum check failed for /tmp/npm-1334121313898/1334121313898-0.47883450938388705/tmp.tgz npm ERR! Expected: 6dab41cbdee572986db328a2a8d22040f20fba7c npm ERR! Actual: 9deb593b91a1b5ef5fa66f917f52d64883f10fb9 npm ERR! at /usr/local/lib/node_modules/npm/lib/utils/sha.js:25:20 npm ERR! at [object Object].<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/sha.js:49:5) npm ERR! at [object Object].emit (events.js:64:17) npm ERR! at afterRead (fs.js:1111:12) npm ERR! at Object.wrapper [as oncomplete] (fs.js:254:17) npm ERR! 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! npm ERR! System Linux 2.6.18-164.el5 npm ERR! command “node” “/usr/local/bin/npm” “install” "ejs" npm ERR! cwd /home/admin/cnae/git/cnode-app-engine/apps/sssky npm ERR! node -v v0.6.10 npm ERR! npm -v 1.1.0-3 npm ERR! message shasum check failed for /tmp/npm-1334121313898/1334121313898-0.47883450938388705/tmp.tgz npm ERR! message Expected: 6dab41cbdee572986db328a2a8d22040f20fba7c npm ERR! message Actual: 9deb593b91a1b5ef5fa66f917f52d64883f10fb9 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/admin/cnae/git/cnode-app-engine/apps/sssky/npm-debug.log npm not ok

出错信息如上,不知道在这问得对不对。安装其他模块如jscex也会出现同样的错误。

2 回复

原来大家都不能安装呐

发现错误!
Error: Command failed: npm http GET http://isaacs.iriscouch.com/registry/_design/app/_rewrite/quickweb
npm http 304 http://isaacs.iriscouch.com/registry/_design/app/_rewrite/quickweb
npm http GET http://isaacs.iriscouch.com/quickweb/-/quickweb-0.3.0.tgz
npm http 404 http://isaacs.iriscouch.com/quickweb/-/quickweb-0.3.0.tgz

npm ERR! Error: shasum check failed for /tmp/npm-1334123088238/1334123088238-0.0604973069857806/tmp.tgz
npm ERR! Expected: 0546aea6d934f83deaa75bd1222acb199e79de66
npm ERR! Actual:   9deb593b91a1b5ef5fa66f917f52d64883f10fb9
npm ERR!     at /usr/local/lib/node_modules/npm/lib/utils/sha.js:25:20
npm ERR!     at [object Object].<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/sha.js:49:5)
npm ERR!     at [object Object].emit (events.js:64:17)
npm ERR!     at afterRead (fs.js:1111:12)
npm ERR!     at Object.wrapper [as oncomplete] (fs.js:254:17)
npm ERR! 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! 
npm ERR! System Linux 2.6.18-164.el5
npm ERR! command "node" "/usr/local/bin/npm" "install" "quickweb"
npm ERR! cwd /home/admin/cnae/git/cnode-app-engine/apps/comic
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-3
npm ERR! message shasum check failed for /tmp/npm-1334123088238/1334123088238-0.0604973069857806/tmp.tgz
npm ERR! message Expected: 0546aea6d934f83deaa75bd1222acb199e79de66
npm ERR! message Actual:   9deb593b91a1b5ef5fa66f917f52d64883f10fb9
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/admin/cnae/git/cnode-app-engine/apps/comic/npm-debug.log
npm not ok

直接同步到服务器吧,最近貌似是有问题

回到顶部