isaacs/npm — Issue #2060: Any ideas why this module fails? Part 2
Author: gabipetrovay
Created: 2012-01-19 10:30:17+00:00
State: open

Hi Isaac,

I am now using, as instructed:
node v0.6.7
npm 1.1.0-beta-10

and I get:

```
gabriel@Cluj:~/test$ npm install mongodb-viewer
npm http GET https://registry.npmjs.org/mongodb-viewer
npm http 304 https://registry.npmjs.org/mongodb-viewer
npm http GET https://registry.npmjs.org/mongodb-viewer/-/mongodb-viewer-0.1.2.tgz
npm http 404 https://registry.npmjs.org/mongodb-viewer/-/mongodb-viewer-0.1.2.tgz
npm ERR! Error: shasum check failed for /tmp/npm-1326968809088/1326968809089-0.3929702730383724/tmp.tgz
npm ERR! Expected: 08308520f64c934934906c26dc6ee5f23871f1ab
npm ERR! Actual: c9de0f9499b0a8db7475a87b0586fe0b83472313
npm ERR! at /usr/local/lib/node_modules/npm/lib/utils/sha.js:25:20
npm ERR! at [object Object]. (/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! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 3.0.0-12-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "mongodb-viewer"
npm ERR! cwd /home/gabriel/test
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! message shasum check failed for /tmp/npm-1326968809088/1326968809089-0.3929702730383724/tmp.tgz
npm ERR! message Expected: 08308520f64c934934906c26dc6ee5f23871f1ab
npm ERR! message Actual: c9de0f9499b0a8db7475a87b0586fe0b83472313
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/gabriel/test/npm-debug.log
npm not ok
```

and the log is:

```
info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'mongodb-viewer' ]
info using npm@1.1.0-beta-10
info using node@v0.6.7
verbose config file /home/gabriel/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose caching /home/gabriel/node_modules/html2jade/package.json
verbose loadDefaults html2jade@0.1.16
verbose caching /home/gabriel/node_modules/express/package.json
verbose loadDefaults express@2.5.4
verbose caching /home/gabriel/node_modules/walk/package.json
verbose loadDefaults walk@2.0.2
verbose caching /home/gabriel/node_modules/mongoose/package.json
verbose loadDefaults mongoose@2.4.9
verbose caching /home/gabriel/node_modules/jade/package.json
verbose loadDefaults jade@0.20.0
verbose caching /home/gabriel/node_modules/connect/package.json
verbose loadDefaults connect@1.8.5
verbose into /home/gabriel [ 'mongodb-viewer' ]
verbose cache add mongodb-viewer
verbose cache add [ 'mongodb-viewer', null ]
silly cache add: name, spec, args [ undefined, 'mongodb-viewer', [ 'mongodb-viewer', null ] ]
verbose parsed url { pathname: 'mongodb-viewer',
verbose parsed url path: 'mongodb-viewer',
verbose parsed url href: 'mongodb-viewer' }
verbose addNamed [ 'mongodb-viewer', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'mongodb-viewer', '', false ]
verbose raw, before any munging mongodb-viewer
verbose url resolving [ 'https://registry.npmjs.org/', './mongodb-viewer' ]
verbose url resolved https://registry.npmjs.org/mongodb-viewer
verbose etag "44ZUBEFGB8OZ4PZWCR2UZWK3F"
http GET https://registry.npmjs.org/mongodb-viewer
http 304 https://registry.npmjs.org/mongodb-viewer
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"44ZUBEFGB8OZ4PZWCR2UZWK3F"',
silly get cb date: 'Thu, 19 Jan 2012 10:26:50 GMT',
silly get cb 'content-length': '0' } ]
verbose etag mongodb-viewer from cache
silly name, range, hasData 2 [ 'mongodb-viewer', '', true ]
silly versions [ 'mongodb-viewer',
silly versions [ '0.0.1', '0.0.2', '0.1.0', '0.1.1', '0.1.2' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl1.0.0e-v83.6.6.15-linux-ia32-3.0.0-12-generic',
verbose bin dist { shasum: '08308520f64c934934906c26dc6ee5f23871f1ab',
verbose bin dist tarball: 'http://registry.npmjs.org/mongodb-viewer/-/mongodb-viewer-0.1.2.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/mongodb-viewer/-/mongodb-viewer-0.1.2.tgz',
verbose addRemoteTarball '08308520f64c934934906c26dc6ee5f23871f1ab' ]
verbose mkdir (expected) error ENOENT, no such file or directory '/tmp/npm-1326968809088'
verbose mkdir (expected) error ENOENT, no such file or directory '/tmp/npm-1326968809088/1326968809089-0.3929702730383724'
verbose mkdir done: /tmp/npm-1326968809088/1326968809089-0.3929702730383724 755
verbose fetch to /tmp/npm-1326968809088/1326968809089-0.3929702730383724/tmp.tgz
http GET https://registry.npmjs.org/mongodb-viewer/-/mongodb-viewer-0.1.2.tgz
http 404 https://registry.npmjs.org/mongodb-viewer/-/mongodb-viewer-0.1.2.tgz
silly updated sha bytes 64
info shasum c9de0f9499b0a8db7475a87b0586fe0b83472313
info shasum /tmp/npm-1326968809088/1326968809089-0.3929702730383724/tmp.tgz
ERR! Error: shasum check failed for /tmp/npm-1326968809088/1326968809089-0.3929702730383724/tmp.tgz
ERR! Expected: 08308520f64c934934906c26dc6ee5f23871f1ab
ERR! Actual: c9de0f9499b0a8db7475a87b0586fe0b83472313
ERR! at /usr/local/lib/node_modules/npm/lib/utils/sha.js:25:20
ERR! at [object Object]. (/usr/local/lib/node_modules/npm/lib/utils/sha.js:49:5)
ERR! at [object Object].emit (events.js:64:17)
ERR! at afterRead (fs.js:1111:12)
ERR! at Object.wrapper [as oncomplete] (fs.js:254:17)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Linux 3.0.0-12-generic
ERR! command "node" "/usr/local/bin/npm" "install" "mongodb-viewer"
ERR! cwd /home/gabriel/test
ERR! node -v v0.6.7
ERR! npm -v 1.1.0-beta-10
ERR! message shasum check failed for /tmp/npm-1326968809088/1326968809089-0.3929702730383724/tmp.tgz
ERR! message Expected: 08308520f64c934934906c26dc6ee5f23871f1ab
ERR! message Actual: c9de0f9499b0a8db7475a87b0586fe0b83472313
verbose exit [ 1, true ]
```