isaacs/npm — Issue #1765: Unknown error installing mogodb
Author: markcowl
Created: 2011-11-23 20:27:59+00:00
State: open

Error:

"Unknown error installing mongodb: C:\Users\markcowl\azure\MyApp\WorkerRole1>npm install mongodb
npm WARN apricot@0.0.5 package.json: bugs['web'] should probably be bugs['url']
npm WARN jsdom@0.1.2 package.json: bugs['web'] should probably be bugs['url']
npm WARN mdns@0.0.3 package.json: bugs['web'] should probably be bugs['url']
npm WARN nodeunit@0.5.1 package.json: bugs['web'] should probably be bugs['url']

npm ERR! error installing mongodb@0.9.7-0 Error: UNKNOWN, unknown error 'C:/User
s/markcowl/azure/MyApp/WorkerRole1/node_modules/___mongodb.npm/package'
npm ERR! Error: UNKNOWN, unknown error 'C:/Users/markcowl/azure/MyApp/WorkerRole
1/node_modules/___mongodb.npm/package'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command ""C:\\Program Files (x86)\\nodejs\\\\node.exe"" ""C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"" ""install"" ""mongodb""
npm ERR! cwd C:\Users\markcowl\azure\MyApp\WorkerRole1
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.1.0-alpha
npm ERR! path C:/Users/markcowl/azure/MyApp/WorkerRole1/node_modules/___mongodb.
npm/package
npm ERR! code UNKNOWN
npm ERR! message UNKNOWN, unknown error 'C:/Users/markcowl/azure/MyApp/WorkerRol
e1/node_modules/___mongodb.npm/package'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\markcowl\azure\MyApp\WorkerRole1\npm-debug.log
npm not ok"

Debug log:

info it worked if it ends with ok
verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe',
verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
verbose cli 'install',
verbose cli 'mongodb' ]
info using npm@1.1.0-alpha
info using node@v0.6.2
verbose config file C:\Users\markcowl\.npmrc
verbose config file C:\Program Files (x86)\etc\npmrc
verbose config file C:\Program Files (x86)\nodejs\node_modules\npm\npmrc
WARN apricot@0.0.5 package.json: bugs['web'] should probably be bugs['url']
verbose caching C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\apricot\package.json
verbose loadDefaults apricot@0.0.5
WARN jsdom@0.1.2 package.json: bugs['web'] should probably be bugs['url']
verbose caching C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\jsdom\package.json
verbose loadDefaults jsdom@0.1.2
verbose has wscript [ undefined,
verbose has wscript { file: 'C:\\Users\\markcowl\\azure\\MyApp\\WorkerRole1\\node_modules\\mdns\\package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
WARN mdns@0.0.3 package.json: bugs['web'] should probably be bugs['url']
verbose caching C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\mdns\package.json
verbose loadDefaults mdns@0.0.3
verbose into C:\Users\markcowl\azure\MyApp\WorkerRole1 [ 'mongodb' ]
verbose cache add mongodb
verbose cache add [ 'mongodb', null ]
silly cache add: name, spec, args [ undefined, 'mongodb', [ 'mongodb', null ] ]
verbose parsed url { pathname: 'mongodb', path: 'mongodb', href: 'mongodb' }
info addNamed [ 'mongodb', '' ]
verbose addNamed [ null, '' ]
verbose GET mongodb
verbose raw, before any munging mongodb
verbose url resolving [ 'https://registry.npmjs.org/', './mongodb' ]
verbose url resolved https://registry.npmjs.org/mongodb
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"86SQRORRMX5S89JUSNCH4W74L"',
silly get cb date: 'Mon, 21 Nov 2011 22:18:48 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '53375' } ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\npm-cache\mongodb'
verbose mkdir done: C:\Users\markcowl\npm-cache\mongodb 755
verbose GET mongodb/0.9.7-0
verbose raw, before any munging mongodb/0.9.7-0
verbose url resolving [ 'https://registry.npmjs.org/', './mongodb/0.9.7-0' ]
verbose url resolved https://registry.npmjs.org/mongodb/0.9.7-0
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"86SQRORRMX5S89JUSNCH4W74L"',
silly get cb date: 'Mon, 21 Nov 2011 22:18:49 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '2316' } ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\npm-cache\mongodb\0.9.7-0'
verbose mkdir done: C:\Users\markcowl\npm-cache\mongodb\0.9.7-0 755
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.8-win32-ia32-6.1.7600',
verbose bin dist { shasum: '800d03d6814e6c4868a952963b4f72946e8aedcd',
verbose bin dist tarball: 'http://registry.npmjs.org/mongodb/-/mongodb-0.9.7-0.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/mongodb/-/mongodb-0.9.7-0.tgz',
verbose addRemoteTarball '800d03d6814e6c4868a952963b4f72946e8aedcd' ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258'
verbose mkdir done: C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258 755
info fetch https://registry.npmjs.org/mongodb/-/mongodb-0.9.7-0.tgz
verbose fetch to C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\tmp.tgz
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 20480
info shasum 800d03d6814e6c4868a952963b4f72946e8aedcd
info shasum C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\tmp.tgz
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\___package.npm'
verbose mkdir done: C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package
silly gunzTarPerm modes [ '755', '644' ]
verbose gunzed C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\___package.npm\package
verbose rm'ed C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package
verbose renamed [ 'C:\\Users\\markcowl\\AppData\\Local\\Temp\\2\\npm-1321913929964\\1321913929964-0.4427273541223258\\___package.npm\\package',
verbose renamed 'C:\\Users\\markcowl\\AppData\\Local\\Temp\\2\\npm-1321913929964\\1321913929964-0.4427273541223258\\package' ]
verbose caching C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package\package.json
verbose loadDefaults mongodb@0.9.7-0
verbose tarball contents [ 'package', 'tmp.tgz' ]
verbose from cache C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package\package.json
verbose pack C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package.tgz
silly makeList C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package
WARN nodeunit@0.5.1 package.json: bugs['web'] should probably be bugs['url']
verbose caching C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package\deps\nodeunit\package.json
verbose loadDefaults nodeunit@0.5.1
verbose caching C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package\deps\step\package.json
verbose loadDefaults step@0.0.4
verbose caching C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package\deps\gleak\package.json
verbose loadDefaults gleak@0.2.1
verbose tarball C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package.tgz
verbose parent C:\Users\markcowl\AppData\Local\Temp\2\npm-1321913929964\1321913929964-0.4427273541223258\package
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\___package.npm'
verbose mkdir done: C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package
silly gunzTarPerm modes [ '755', '644' ]
verbose gunzed C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\___package.npm\package
verbose rm'ed C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package
verbose renamed [ 'C:\\Users\\markcowl\\npm-cache\\mongodb\\0.9.7-0\\___package.npm\\package',
verbose renamed 'C:\\Users\\markcowl\\npm-cache\\mongodb\\0.9.7-0\\package' ]
verbose caching C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package\package.json
verbose loadDefaults mongodb@0.9.7-0
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 15122
info shasum 53ed34d3151b12a76d69a4562f9055a438679b49
info shasum C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package.tgz
verbose from cache C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package\package.json
verbose chmod C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package.tgz 644
silly skipping chown for windows C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package.tgz
silly resolved [ { name: 'mongodb',
silly resolved description: 'A node.js driver for MongoDB',
silly resolved keywords: [ 'mongodb', 'mongo', 'driver', 'db' ],
silly resolved version: '0.9.7-0',
silly resolved author: { name: 'Christian Amor Kvalheim', email: 'christkv@gmail.com' },
silly resolved contributors:
silly resolved [ { name: 'Aaron Heckmann' },
silly resolved { name: 'Christoph Pojer' },
silly resolved { name: 'Pau Ramon Revilla' },
silly resolved { name: 'Nathan White' },
silly resolved { name: 'Emmerman' },
silly resolved { name: 'Seth LaForge' },
silly resolved { name: 'Boris Filipov' },
silly resolved { name: 'Stefan Schärmeli' },
silly resolved { name: 'Tedde Lundgren' },
silly resolved { name: 'renctan' },
silly resolved { name: 'Sergey Ukustov' },
silly resolved { name: 'Ciaran Jessup' },
silly resolved { name: 'kuno' },
silly resolved { name: 'srimonti' },
silly resolved { name: 'Erik Abele' },
silly resolved { name: 'Pratik Daga' },
silly resolved { name: 'Slobodan Utvic' },
silly resolved { name: 'Kristina Chodorow' },
silly resolved { name: 'Yonathan Randolph' },
silly resolved { name: 'Brian Noguchi' },
silly resolved { name: 'Sam Epstein' },
silly resolved { name: 'James Harrison Fisher' },
silly resolved { name: 'Vladimir Dronnikov' },
silly resolved { name: 'Ben Hockey' },
silly resolved { name: 'Henrik Johansson' },
silly resolved { name: 'Simon Weare' },
silly resolved { name: 'Alex Gorbatchev' },
silly resolved { name: 'Shimon Doodkin' },
silly resolved { name: 'Kyle Mueller' },
silly resolved { name: 'Eran Hammer-Lahav' },
silly resolved { name: 'Marcin Ciszak' },
silly resolved { name: 'François de Metz' },
silly resolved { name: 'Vinay Pulim' },
silly resolved { name: 'nstielau' },
silly resolved { name: 'Adam Wiggins' },
silly resolved { name: 'entrinzikyl' },
silly resolved { name: 'Jeremy Selier' },
silly resolved { name: 'Ian Millington' },
silly resolved { name: 'Public Keating' },
silly resolved { name: 'andrewjstone' },
silly resolved { name: 'Christopher Stott' },
silly resolved { name: 'Corey Jewett' },
silly resolved { name: 'brettkiefer' },
silly resolved { name: 'Rob Holland' },
silly resolved { name: 'Senmiao Liu' },
silly resolved { name: 'heroic' },
silly resolved { name: 'gitfy' },
silly resolved { name: 'Andrew Stone' } ],
silly resolved repository:
silly resolved { type: 'git',
silly resolved url: 'git://github.com/christkv/node-mongodb-native.git' },
silly resolved bugs:
silly resolved { email: 'node-mongodb-native@googlegroups.com',
silly resolved url: 'http://github.com/christkv/node-mongodb-native/issues' },
silly resolved os: [ 'linux', 'darwin', 'freebsd' ],
silly resolved config: { native: false },
silly resolved main: './lib/mongodb/index',
silly resolved directories: { lib: './lib/mongodb' },
silly resolved engines: { node: '>=0.4.0' },
silly resolved scripts: { install: 'bash ./install.sh' },
silly resolved licenses:
silly resolved [ { type: 'Apache License, Version 2.0',
silly resolved url: 'http://www.apache.org/licenses/LICENSE-2.0' } ],
silly resolved _id: 'mongodb@0.9.7-0',
silly resolved dependencies: {},
silly resolved devDependencies: {},
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.0-alpha',
silly resolved _nodeVersion: 'v0.6.2',
silly resolved _defaultsLoaded: true,
silly resolved dist: { shasum: '53ed34d3151b12a76d69a4562f9055a438679b49' } } ]
info into C:\Users\markcowl\azure\MyApp\WorkerRole1 mongodb@0.9.7-0
info installOne mongodb@0.9.7-0
info unbuild C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\mongodb
verbose from cache C:\Users\markcowl\npm-cache\mongodb\0.9.7-0\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\___mongodb.npm'
verbose mkdir done: C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\___mongodb.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\mongodb
silly gunzTarPerm modes [ '755', '644' ]
verbose gunzed C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\___mongodb.npm\package
verbose rm'ed C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\mongodb
ERR! error installing mongodb@0.9.7-0 Error: UNKNOWN, unknown error 'C:/Users/markcowl/azure/MyApp/WorkerRole1/node_modules/___mongodb.npm/package'
info unbuild C:\Users\markcowl\azure\MyApp\WorkerRole1\node_modules\mongodb
verbose installOne cb mongodb@0.9.7-0
ERR! Error: UNKNOWN, unknown error 'C:/Users/markcowl/azure/MyApp/WorkerRole1/node_modules/___mongodb.npm/package'
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Windows_NT 6.1.7600
ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "mongodb"
ERR! cwd C:\Users\markcowl\azure\MyApp\WorkerRole1
ERR! node -v v0.6.2
ERR! npm -v 1.1.0-alpha
ERR! path C:/Users/markcowl/azure/MyApp/WorkerRole1/node_modules/___mongodb.npm/package
ERR! code UNKNOWN
ERR! message UNKNOWN, unknown error 'C:/Users/markcowl/azure/MyApp/WorkerRole1/node_modules/___mongodb.npm/package'
verbose exit [ 1, true ]