Saturday, 15 September 2012

javascript - npm install express give me checksum error -



javascript - npm install express give me checksum error -

i have node v.0.10.30 , npm 1.4.21 installed, when execute command

npm install express

i result

error: shasum check failed /tmp/npm-4273-g1rb0gce/registry.npmjs.org/express/- /express-4.9.7.tgz npm err! expected: ae3e0bdf0095749467fde125afd77e7988ff0fbb npm err! actual: da39a3ee5e6b4b0d3255bfef95601890afd80709 npm err! from: https://registry.npmjs.org/express/-/express-4.9.7.tgz npm err! @ /usr/lib/node_modules/npm/node_modules/sha/index.js:38:8 npm err! @ readstream.<anonymous>(/usr/lib/node_modules/npm/node_modules/sha/index.js:85:7) npm err! @ readstream.emit (events.js:117:20) npm err! @ _stream_readable.js:938:16 npm err! @ process._tickcallback (node.js:419:13)

more log npm-debug.log file

0 info worked if ends ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', 'express' ] 2 info using npm@1.4.21 3 info using node@v0.10.30 4 verbose node symlink /usr/bin/node 5 warn package.json app@0.0.0 no description 6 warn package.json app@0.0.0 no repository field. 7 warn package.json app@0.0.0 no readme info 8 verbose readdependencies using package.json deps 9 verbose cache add together [ 'express', null ] 19 verbose lock express@ /home/wilson/.npm/64a534c1-express.lock 20 silly addnamerange { name: 'express', range: '*', hasdata: false } 21 verbose request /express 22 verbose request registry https://registry.npmjs.org/ 23 verbose request id a071fcd68daa94eb 24 verbose url raw /express 25 verbose url resolving [ 'https://registry.npmjs.org/', './express' ] 26 verbose url resolved https://registry.npmjs.org/express 27 verbose request https://registry.npmjs.org/express 28 info trying registry request effort 1 @ 20:00:01 29 verbose etag "7fvlrt9y9rqjkgvqc7099fkq4" 30 http https://registry.npmjs.org/express 31 http 304 https://registry.npmjs.org/express 32 silly registry.get cb [ 304, 32 silly registry.get { date: 'sat, 11 oct 2014 00:00:01 gmt', 32 silly registry.get server: 'apache', 32 silly registry.get via: '1.1 varnish', 32 silly registry.get 'last-modified': 'fri, 10 oct 2014 23:59:57 gmt', 32 silly registry.get 'cache-control': 'max-age=60', 32 silly registry.get etag: '"7fvlrt9y9rqjkgvqc7099fkq4"', 32 silly registry.get 'x-served-by': 'cache-iad2130-iad', 32 silly registry.get 'x-cache': 'hit', 32 silly registry.get 'x-cache-hits': '2', 32 silly registry.get 'x-timer': 's1412985601.881420,vs0,ve0', 32 silly registry.get vary: 'accept', 32 silly registry.get 'content-length': '0', 32 silly registry.get 'keep-alive': 'timeout=10, max=50', 32 silly registry.get connection: 'keep-alive' } ] 33 verbose etag https://registry.npmjs.org/express cache 34 silly addnamerange number 2 { name: 'express', range: '*', hasdata: true }

my os ubuntu 14.04 npm command recommended me study log @ npm's github repository

download file https://registry.npmjs.org/express/-/express-4.9.7.tgz

then install file

npm install ./express-4.9.7.tgz

javascript node.js npm

No comments:

Post a Comment