isaacs/npm — Issue #2054: Any ideas why this module fails?
Author: gabipetrovay
Created: 2012-01-19 01:12:38+00:00
State: open

```
gabriel@Cluj:~$ npm install mongodb-viewer
npm ERR! Error: shasum check failed for /tmp/npm-1326934854597/1326934854597-0.2521029382478446/tmp.tgz
npm ERR! Expected: 08308520f64c934934906c26dc6ee5f23871f1ab
npm ERR! Actual: c9de0f9499b0a8db7475a87b0586fe0b83472313
npm ERR! at /usr/lib/nodejs/npm/lib/utils/sha.js:25:20
npm ERR! at [object Object]. (/usr/lib/nodejs/npm/lib/utils/sha.js:49:5)
npm ERR! at [object Object].emit (events.js:64:17)
npm ERR! at afterRead (fs.js:1081:12)
npm ERR! at Object.wrapper [as oncomplete] (fs.js:252: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/bin/npm" "install" "mongodb-viewer"
npm ERR! cwd /home/gabriel
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.0.105
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/gabriel/npm-debug.log
npm not ok
```

or directly from git:

```
gabriel@Cluj:~$ npm install git://github.com/edwardhotchkiss/mongodb-viewer.git
npm ERR! git clone git://github.com/edwardhotchkiss/mongodb-viewer.git execvp(): No such file or directory
npm ERR! Error: `git "clone" "git://github.com/edwardhotchkiss/mongodb-viewer.git" "/tmp/npm-1326934751573/1326934751573-0.8604062804952264"` failed with 127
npm ERR! at ChildProcess. (/usr/lib/nodejs/npm/lib/utils/exec.js:49:20)
npm ERR! at ChildProcess.emit (events.js:70:17)
npm ERR! at maybeExit (child_process.js:359:16)
npm ERR! at Socket. (child_process.js:464:7)
npm ERR! at Socket.emit (events.js:67:17)
npm ERR! at Array.0 (net.js:300:10)
npm ERR! at EventEmitter._tickCallback (node.js:192:40)
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/bin/npm" "install" "git://github.com/edwardhotchkiss/mongodb-viewer.git"
npm ERR! cwd /home/gabriel
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.0.105
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/gabriel/npm-debug.log
npm not ok
```

the log for `npm install mongodb-viewer` is:

```
info it worked if it ends with ok
verbose cli [ 'node', '/usr/bin/npm', 'install', 'mongodb-viewer' ]
info using npm@1.0.105
info using node@v0.6.2
verbose /usr/bin/node node symlink
verbose config file /home/gabriel/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/lib/nodejs/npm/npmrc
silly testEngine { name: 'mongoose',
silly testEngine description: 'Mongoose MongoDB ODM',
silly testEngine version: '2.4.9',
silly testEngine author: { name: 'Guillermo Rauch', email: 'guillermo@learnboost.com' },
silly testEngine keywords: [ 'mongodb', 'mongoose', 'orm', 'data', 'datastore', 'nosql' ],
silly testEngine dependencies: { hooks: '0.1.9', mongodb: '0.9.7-3-5', colors: '0.5.1' },
silly testEngine devDependencies: { should: '0.2.1', gleak: '0.2.1' },
silly testEngine directories: { lib: './lib/mongoose' },
silly testEngine scripts: { test: 'make test' },
silly testEngine main: './index.js',
silly testEngine engines: { node: '>= 0.4.0' },
silly testEngine repository: { type: 'git', url: 'git://github.com/LearnBoost/mongoose.git' },
silly testEngine _id: 'mongoose@2.4.9',
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.105',
silly testEngine _nodeVersion: 'v0.6.2',
silly testEngine _defaultsLoaded: true }
verbose caching /home/gabriel/node_modules/mongoose/package.json
verbose loadDefaults mongoose@2.4.9
silly testEngine { name: 'connect',
silly testEngine version: '1.8.5',
silly testEngine description: 'High performance middleware framework',
silly testEngine keywords: [ 'framework', 'web', 'middleware', 'connect', 'rack' ],
silly testEngine repository: { type: 'git', url: 'git://github.com/senchalabs/connect.git' },
silly testEngine author:
silly testEngine { name: 'TJ Holowaychuk',
silly testEngine email: 'tj@vision-media.ca',
silly testEngine url: 'http://tjholowaychuk.com' },
silly testEngine dependencies: { qs: '>= 0.4.0', mime: '>= 0.0.1', formidable: '1.0.x' },
silly testEngine devDependencies:
silly testEngine { expresso: '0.9.2',
silly testEngine koala: '0.1.2',
silly testEngine less: '1.1.1',
silly testEngine sass: '0.5.0',
silly testEngine markdown: '0.2.1',
silly testEngine ejs: '0.4.3',
silly testEngine should: '0.3.2' },
silly testEngine main: 'index',
silly testEngine engines: { node: '>= 0.4.1 < 0.7.0' },
silly testEngine _id: 'connect@1.8.5',
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.105',
silly testEngine _nodeVersion: 'v0.6.2',
silly testEngine _defaultsLoaded: true }
verbose caching /home/gabriel/node_modules/connect/package.json
verbose loadDefaults connect@1.8.5
silly testEngine { name: 'jade',
silly testEngine description: 'Jade template engine',
silly testEngine version: '0.20.0',
silly testEngine author: { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
silly testEngine repository: { type: 'git', url: 'git://github.com/visionmedia/jade.git' },
silly testEngine main: './index.js',
silly testEngine bin: { jade: './bin/jade' },
silly testEngine dependencies: { commander: '0.2.x', mkdirp: '>= 0.0.7' },
silly testEngine devDependencies:
silly testEngine { mocha: '*',
silly testEngine 'coffee-script': '>= 0.0.1',
silly testEngine markdown: '>= 0.0.1',
silly testEngine stylus: '>= 0.0.1',
silly testEngine uubench: '0.0.1',
silly testEngine 'uglify-js': '>= 1.0.7' },
silly testEngine scripts: { prepublish: 'npm prune' },
silly testEngine engines: { node: '>= 0.1.98' },
silly testEngine _id: 'jade@0.20.0',
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.105',
silly testEngine _nodeVersion: 'v0.6.2',
silly testEngine _defaultsLoaded: true }
verbose caching /home/gabriel/node_modules/jade/package.json
verbose loadDefaults jade@0.20.0
silly testEngine { name: 'html2jade',
silly testEngine description: 'HTML to Jade conversion tool',
silly testEngine version: '0.1.16',
silly testEngine author: { name: 'Don Park', email: 'donpark@docuverse.com' },
silly testEngine repository: { type: 'git', url: 'git://github.com/donpark/html2jade.git' },
silly testEngine main: 'index',
silly testEngine bin: { html2jade: './bin/html2jade' },
silly testEngine dependencies: { jsdom: '>= 0.2.9', commander: '>= 0.3.2' },
silly testEngine engines: { node: '>= 0.4.0' },
silly testEngine _id: 'html2jade@0.1.16',
silly testEngine devDependencies: {},
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.105',
silly testEngine _nodeVersion: 'v0.6.2',
silly testEngine _defaultsLoaded: true }
verbose caching /home/gabriel/node_modules/html2jade/package.json
verbose loadDefaults html2jade@0.1.16
silly testEngine { name: 'express',
silly testEngine description: 'Sinatra inspired web development framework',
silly testEngine version: '2.5.4',
silly testEngine author: { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
silly testEngine contributors:
silly testEngine [ { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
silly testEngine { name: 'Aaron Heckmann',
silly testEngine email: 'aaron.heckmann+github@gmail.com' },
silly testEngine { name: 'Ciaran Jessup', email: 'ciaranj@gmail.com' },
silly testEngine { name: 'Guillermo Rauch', email: 'rauchg@gmail.com' } ],
silly testEngine dependencies:
silly testEngine { connect: '1.x',
silly testEngine mime: '>= 0.0.1',
silly testEngine qs: '>= 0.3.1',
silly testEngine mkdirp: '0.0.7' },
silly testEngine devDependencies:
silly testEngine { 'connect-form': '0.2.1',
silly testEngine ejs: '0.4.2',
silly testEngine expresso: '0.9.2',
silly testEngine hamljs: '0.5.1',
silly testEngine jade: '0.16.2',
silly testEngine stylus: '0.13.0',
silly testEngine should: '0.3.2',
silly testEngine 'express-messages': '0.0.2',
silly testEngine 'node-markdown': '>= 0.0.1',
silly testEngine 'connect-redis': '>= 0.0.1' },
silly testEngine keywords: [ 'framework', 'sinatra', 'web', 'rest', 'restful' ],
silly testEngine repository: { type: 'git', url: 'git://github.com/visionmedia/express.git' },
silly testEngine main: 'index',
silly testEngine bin: { express: './bin/express' },
silly testEngine scripts: { test: 'make test', prepublish: 'npm prune' },
silly testEngine engines: { node: '>= 0.4.1 < 0.7.0' },
silly testEngine _id: 'express@2.5.4',
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.105',
silly testEngine _nodeVersion: 'v0.6.2',
silly testEngine _defaultsLoaded: true }
verbose caching /home/gabriel/node_modules/express/package.json
verbose loadDefaults express@2.5.4
silly testEngine { name: 'walk',
silly testEngine description: 'A node port of python\'s os.walk',
silly testEngine url: 'github.com/coolaj86/node-walk',
silly testEngine keywords: [ 'util', 'os', 'sys', 'fs', 'walk', 'walkSync' ],
silly testEngine author: { name: 'AJ ONeal', email: 'coolaj86@gmail.com' },
silly testEngine contributors: [],
silly testEngine dependencies: { forEachAsync: '>= 2.1.0' },
silly testEngine lib: '.',
silly testEngine main: './walk.js',
silly testEngine version: '2.0.2',
silly testEngine _id: 'walk@2.0.2',
silly testEngine devDependencies: {},
silly testEngine engines: { node: '*' },
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.105',
silly testEngine _nodeVersion: 'v0.6.2',
silly testEngine _defaultsLoaded: true }
verbose caching /home/gabriel/node_modules/walk/package.json
verbose loadDefaults walk@2.0.2
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' }
info addNamed [ 'mongodb-viewer', '' ]
verbose addNamed [ null, '' ]
verbose GET mongodb-viewer
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"
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 01:00:58 GMT',
silly get cb 'content-length': '0' } ]
verbose etag mongodb-viewer from cache
verbose GET mongodb-viewer/0.1.2
verbose raw, before any munging mongodb-viewer/0.1.2
verbose url resolving [ 'https://registry.npmjs.org/', './mongodb-viewer/0.1.2' ]
verbose url resolved https://registry.npmjs.org/mongodb-viewer/0.1.2
verbose etag "44ZUBEFGB8OZ4PZWCR2UZWK3F"
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 01:00:59 GMT',
silly get cb 'content-length': '0' } ]
verbose etag mongodb-viewer/0.1.2 from cache
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl1.0.0e-v83.6.6.8-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-1326934854597'
verbose mkdir (expected) error ENOENT, no such file or directory '/tmp/npm-1326934854597/1326934854597-0.2521029382478446'
verbose mkdir done: /tmp/npm-1326934854597/1326934854597-0.2521029382478446 755
info fetch https://registry.npmjs.org/mongodb-viewer/-/mongodb-viewer-0.1.2.tgz
verbose fetch to /tmp/npm-1326934854597/1326934854597-0.2521029382478446/tmp.tgz
silly updated sha bytes 64
info shasum c9de0f9499b0a8db7475a87b0586fe0b83472313
info shasum /tmp/npm-1326934854597/1326934854597-0.2521029382478446/tmp.tgz
ERR! Error: shasum check failed for /tmp/npm-1326934854597/1326934854597-0.2521029382478446/tmp.tgz
ERR! Expected: 08308520f64c934934906c26dc6ee5f23871f1ab
ERR! Actual: c9de0f9499b0a8db7475a87b0586fe0b83472313
ERR! at /usr/lib/nodejs/npm/lib/utils/sha.js:25:20
ERR! at [object Object]. (/usr/lib/nodejs/npm/lib/utils/sha.js:49:5)
ERR! at [object Object].emit (events.js:64:17)
ERR! at afterRead (fs.js:1081:12)
ERR! at Object.wrapper [as oncomplete] (fs.js:252: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/bin/npm" "install" "mongodb-viewer"
ERR! cwd /home/gabriel
ERR! node -v v0.6.2
ERR! npm -v 1.0.105
verbose exit [ 1, true ]
```