NAE 上模块安装失败
发布于 3年前 作者 guilin 1545 次浏览

想在NAE上发布nodeclub, 结果npm安装失败

发现错误! Error: Command failed: npm http GET http://isaacs.iriscouch.com/registry/_design/app/_rewrite/express/2.5.1 npm http GET http://isaacs.iriscouch.com/registry/_design/app/_rewrite/mongoose/2.4.1 npm http GET http://isaacs.iriscouch.com/registry/_design/app/_rewrite/node-markdown/0.1.0 npm http GET http://isaacs.iriscouch.com/registry/_design/app/_rewrite/ndir/0.1.2 npm http GET http://isaacs.iriscouch.com/registry/_design/app/_rewrite/nodemailer/0.3.5 npm http GET http://isaacs.iriscouch.com/registry/_design/app/_rewrite/data2xml/0.4.0 npm http 304 http://isaacs.iriscouch.com/registry/_design/app/_rewrite/express/2.5.1 npm http 304 http://isaacs.iriscouch.com/registry/_design/app/_rewrite/ndir/0.1.2 npm http 304 http://isaacs.iriscouch.com/registry/_design/app/_rewrite/node-markdown/0.1.0 npm http GET http://isaacs.iriscouch.com/ndir/-/ndir-0.1.2.tgz npm http 304 http://isaacs.iriscouch.com/registry/_design/app/_rewrite/data2xml/0.4.0 npm http GET http://isaacs.iriscouch.com/data2xml/-/data2xml-0.4.0.tgz npm http 304 http://isaacs.iriscouch.com/registry/_design/app/_rewrite/mongoose/2.4.1 npm http 304 http://isaacs.iriscouch.com/registry/_design/app/_rewrite/nodemailer/0.3.5 npm http GET http://isaacs.iriscouch.com/nodemailer/-/nodemailer-0.3.5.tgz npm http 404 http://isaacs.iriscouch.com/ndir/-/ndir-0.1.2.tgz npm http 404 http://isaacs.iriscouch.com/nodemailer/-/nodemailer-0.3.5.tgz

npm ERR! Error: shasum check failed for /tmp/npm-1333477240715/1333477240715-0.8734400563407689/tmp.tgz npm ERR! Expected: 9dee8e42a16c2fd08504a6b14ef08c5523e7b0c5 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” “.” npm ERR! cwd /home/admin/cnae/git/cnode-app-engine/apps/nosql npm ERR! node -v v0.6.10 npm ERR! npm -v 1.1.0-3 npm ERR! message shasum check failed for /tmp/npm-1333477240715/1333477240715-0.8734400563407689/tmp.tgz npm ERR! message Expected: 9dee8e42a16c2fd08504a6b14ef08c5523e7b0c5 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/nosql/npm-debug.log npm not ok

4 回复

NAE上安装webjs安装也是同样的问题

看错误,好像是文件的md5验证码对不上了。是不是连NPM的服务器上文件内容有损坏呢?

回到顶部