isaacs/npm — Issue #1764: npm will not install mDNS on windows
Author: markcowl
Created: 2011-11-23 20:26:18+00:00
State: open

NPM will niot install mDNS: C:\Users\markcowl\mine>npm install mdns
npm WARN mjsunit.runner@0.1.3 package.json: bugs['web'] should probably be bugs[
'url']
npm WARN mdns@0.0.3 package.json: bugs['web'] should probably be bugs['url']

> mdns@0.0.3 install C:\Users\markcowl\node_modules\mdns
> node-waf configure build

'node-waf' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! error installing mdns@0.0.3 Error: mdns@0.0.3 install: `node-waf config
ure build`
npm ERR! error installing mdns@0.0.3 `cmd "/c" "node-waf configure build"` faile
d with 1
npm ERR! error installing mdns@0.0.3 at ChildProcess. (C:\Program
Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:49:20)
npm ERR! error installing mdns@0.0.3 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing mdns@0.0.3 at maybeExit (child_process.js:359:16)
npm ERR! error installing mdns@0.0.3 at Process.onexit (child_process.js:395
:5)
npm ERR! mdns@0.0.3 install: `node-waf configure build`
npm ERR! `cmd "/c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the mdns@0.0.3 install script.
npm ERR! This is most likely a problem with the mdns package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls mdns
npm ERR! There is likely additional logging output above.
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" "mdns"
npm ERR! cwd C:\Users\markcowl\mine
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.1.0-alpha
npm ERR! code ELIFECYCLE
npm ERR! message mdns@0.0.3 install: `node-waf configure build`
npm ERR! message `cmd "/c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\markcowl\mine\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 'mdns' ]
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
verbose caching C:\Users\markcowl\node_modules\async\package.json
verbose loadDefaults async@0.1.15
verbose caching C:\Users\markcowl\node_modules\coffee-script\package.json
verbose loadDefaults coffee-script@1.1.3
verbose caching C:\Users\markcowl\node_modules\colors\package.json
verbose loadDefaults colors@0.5.1
verbose caching C:\Users\markcowl\node_modules\connect\package.json
verbose loadDefaults connect@1.8.0
verbose caching C:\Users\markcowl\node_modules\optimist\package.json
verbose loadDefaults optimist@0.2.8
verbose caching C:\Users\markcowl\node_modules\express\package.json
verbose loadDefaults express@2.5.1
verbose caching C:\Users\markcowl\node_modules\redis\package.json
verbose loadDefaults redis@0.7.1
verbose caching C:\Users\markcowl\node_modules\request\package.json
verbose loadDefaults request@2.2.5
verbose caching C:\Users\markcowl\node_modules\socket.io\package.json
verbose loadDefaults socket.io@0.8.7
verbose caching C:\Users\markcowl\node_modules\uglify-js\package.json
verbose loadDefaults uglify-js@1.1.1
verbose caching C:\Users\markcowl\node_modules\underscore\package.json
verbose loadDefaults underscore@1.2.2
verbose caching C:\Users\markcowl\node_modules\vows\package.json
verbose loadDefaults vows@0.5.13
verbose into C:\Users\markcowl [ 'mdns' ]
verbose cache add mdns
verbose cache add [ 'mdns', null ]
silly cache add: name, spec, args [ undefined, 'mdns', [ 'mdns', null ] ]
verbose parsed url { pathname: 'mdns', path: 'mdns', href: 'mdns' }
info addNamed [ 'mdns', '' ]
verbose addNamed [ null, '' ]
verbose GET mdns
verbose raw, before any munging mdns
verbose url resolving [ 'https://registry.npmjs.org/', './mdns' ]
verbose url resolved https://registry.npmjs.org/mdns
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"AE2R0JY9EOC0K0RVU8HJSPTKM"',
silly get cb date: 'Mon, 21 Nov 2011 21:54:34 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '1291' } ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\npm-cache\mdns'
verbose mkdir done: C:\Users\markcowl\npm-cache\mdns 755
verbose GET mdns/0.0.3
verbose raw, before any munging mdns/0.0.3
verbose url resolving [ 'https://registry.npmjs.org/', './mdns/0.0.3' ]
verbose url resolved https://registry.npmjs.org/mdns/0.0.3
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"AE2R0JY9EOC0K0RVU8HJSPTKM"',
silly get cb date: 'Mon, 21 Nov 2011 21:54:35 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '866' } ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\npm-cache\mdns\0.0.3'
verbose mkdir done: C:\Users\markcowl\npm-cache\mdns\0.0.3 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 { tarball: 'http://registry.npmjs.org/mdns/-/mdns-0.0.3.tgz',
verbose bin dist bin:
verbose bin dist { '0.4-sunos-5.11':
verbose bin dist { shasum: 'ce9479ee09cc4b5cf578900cd50e78cdb64604e8',
verbose bin dist tarball: 'http://registry.npmjs.org/mdns/-/mdns-0.0.3-0.4-sunos-5.11.tgz' } } } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/mdns/-/mdns-0.0.3.tgz',
verbose addRemoteTarball undefined ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809'
verbose mkdir done: C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809 755
info fetch https://registry.npmjs.org/mdns/-/mdns-0.0.3.tgz
verbose fetch to C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\tmp.tgz
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\___package.npm'
verbose mkdir done: C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\package
silly gunzTarPerm modes [ '755', '644' ]
verbose gunzed C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\___package.npm\1289345388994-0.30621785554103553
verbose rm'ed C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\package
verbose renamed [ 'C:\\Users\\markcowl\\AppData\\Local\\Temp\\2\\npm-1321912476221\\1321912476221-0.5928386654704809\\___package.npm\\1289345388994-0.30621785554103553',
verbose renamed 'C:\\Users\\markcowl\\AppData\\Local\\Temp\\2\\npm-1321912476221\\1321912476221-0.5928386654704809\\package' ]
verbose has wscript [ undefined,
verbose has wscript { file: 'C:\\Users\\markcowl\\AppData\\Local\\Temp\\2\\npm-1321912476221\\1321912476221-0.5928386654704809\\package\\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\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\package\package.json
verbose loadDefaults mdns@0.0.3
verbose tarball contents [ 'package', 'tmp.tgz' ]
verbose from cache C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\package\package.json
verbose pack C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\package C:\Users\markcowl\npm-cache\mdns\0.0.3\package.tgz
silly makeList C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\package
verbose tarball C:\Users\markcowl\npm-cache\mdns\0.0.3\package.tgz
verbose parent C:\Users\markcowl\AppData\Local\Temp\2\npm-1321912476221\1321912476221-0.5928386654704809\package
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\npm-cache\mdns\0.0.3\___package.npm'
verbose mkdir done: C:\Users\markcowl\npm-cache\mdns\0.0.3\___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\markcowl\npm-cache\mdns\0.0.3\package
silly gunzTarPerm modes [ '755', '644' ]
verbose gunzed C:\Users\markcowl\npm-cache\mdns\0.0.3\___package.npm\package
verbose rm'ed C:\Users\markcowl\npm-cache\mdns\0.0.3\package
verbose renamed [ 'C:\\Users\\markcowl\\npm-cache\\mdns\\0.0.3\\___package.npm\\package',
verbose renamed 'C:\\Users\\markcowl\\npm-cache\\mdns\\0.0.3\\package' ]
verbose has wscript [ undefined,
verbose has wscript { file: 'C:\\Users\\markcowl\\npm-cache\\mdns\\0.0.3\\package\\package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching C:\Users\markcowl\npm-cache\mdns\0.0.3\package\package.json
verbose loadDefaults mdns@0.0.3
silly updated sha bytes 10400
info shasum 6800ebaf44bfffad636b339fd5d0811db8cbb96e
info shasum C:\Users\markcowl\npm-cache\mdns\0.0.3\package.tgz
verbose from cache C:\Users\markcowl\npm-cache\mdns\0.0.3\package\package.json
verbose chmod C:\Users\markcowl\npm-cache\mdns\0.0.3\package.tgz 644
silly skipping chown for windows C:\Users\markcowl\npm-cache\mdns\0.0.3\package.tgz
silly resolved [ { name: 'mdns',
silly resolved version: '0.0.3',
silly resolved description: 'mdns/zeroconf/bonjour service discovery add-on',
silly resolved author: { name: 'David Siegel', email: 'david@artcom.de' },
silly resolved contributors: [ { name: 'Orlando Vazquez' }, { name: 'Ryan Dahl' } ],
silly resolved main: './lib/mdns',
silly resolved scripts: { install: 'node-waf configure build' },
silly resolved licenses:
silly resolved [ { type: 'MIT',
silly resolved url: 'http://github.com/agnat/node_mdns/raw/master/LICENSE' } ],
silly resolved bugs: { url: 'http://github.com/agnat/node_mdns/issues' },
silly resolved repository: { type: 'git', url: 'git://github.com/agnat/node_mdns.git' },
silly resolved _id: 'mdns@0.0.3',
silly resolved dependencies: {},
silly resolved devDependencies: {},
silly resolved engines: { node: '*' },
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: '6800ebaf44bfffad636b339fd5d0811db8cbb96e' } } ]
info into C:\Users\markcowl mdns@0.0.3
info installOne mdns@0.0.3
info unbuild C:\Users\markcowl\node_modules\mdns
verbose from cache C:\Users\markcowl\npm-cache\mdns\0.0.3\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\markcowl\node_modules\___mdns.npm'
verbose mkdir done: C:\Users\markcowl\node_modules\___mdns.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\markcowl\node_modules\mdns
silly gunzTarPerm modes [ '755', '644' ]
verbose gunzed C:\Users\markcowl\node_modules\___mdns.npm\package
verbose rm'ed C:\Users\markcowl\node_modules\mdns
verbose renamed [ 'C:\\Users\\markcowl\\node_modules\\___mdns.npm\\package',
verbose renamed 'C:\\Users\\markcowl\\node_modules\\mdns' ]
verbose has wscript [ undefined,
verbose has wscript { file: 'C:\\Users\\markcowl\\node_modules\\mdns\\package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching C:\Users\markcowl\node_modules\mdns\package.json
verbose loadDefaults mdns@0.0.3
info preinstall mdns@0.0.3
verbose from cache C:\Users\markcowl\node_modules\mdns\package.json
verbose into C:\Users\markcowl\node_modules\mdns []
silly resolved []
verbose about to build C:\Users\markcowl\node_modules\mdns
info build C:\Users\markcowl\node_modules\mdns
verbose from cache C:\Users\markcowl\node_modules\mdns\package.json
verbose linkStuff [ false, false, false, 'C:\\Users\\markcowl\\node_modules' ]
info linkStuff mdns@0.0.3
verbose linkBins mdns@0.0.3
verbose linkMans mdns@0.0.3
verbose rebuildBundles mdns@0.0.3
info install mdns@0.0.3
verbose unsafe-perm in lifecycle true
silly exec cmd "/c" "node-waf configure build"
silly spawning [ 'cmd',
silly spawning [ '/c', 'node-waf configure build' ],
silly spawning 'C:\\Users\\markcowl\\node_modules\\mdns' ]
info mdns@0.0.3 Failed to exec install script
ERR! error installing mdns@0.0.3 Error: mdns@0.0.3 install: `node-waf configure build`
ERR! error installing mdns@0.0.3 `cmd "/c" "node-waf configure build"` failed with 1
ERR! error installing mdns@0.0.3 at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:49:20)
ERR! error installing mdns@0.0.3 at ChildProcess.emit (events.js:70:17)
ERR! error installing mdns@0.0.3 at maybeExit (child_process.js:359:16)
ERR! error installing mdns@0.0.3 at Process.onexit (child_process.js:395:5)
info unbuild C:\Users\markcowl\node_modules\mdns
verbose from cache C:\Users\markcowl\node_modules\mdns\package.json
info preuninstall mdns@0.0.3
info uninstall mdns@0.0.3
verbose unbuild mdns@0.0.3 [ true,
verbose unbuild mdns@0.0.3 'C:\\Users\\markcowl\\node_modules',
verbose unbuild mdns@0.0.3 'C:\\Users\\markcowl\\node_modules' ]
info postuninstall mdns@0.0.3
verbose installOne cb mdns@0.0.3
ERR! mdns@0.0.3 install: `node-waf configure build`
ERR! `cmd "/c" "node-waf configure build"` failed with 1
ERR!
ERR! Failed at the mdns@0.0.3 install script.
ERR! This is most likely a problem with the mdns package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! node-waf configure build
ERR! You can get their info via:
ERR! npm owner ls mdns
ERR! There is likely additional logging output above.
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" "mdns"
ERR! cwd C:\Users\markcowl\azure\MyApp\WorkerRole1
ERR! node -v v0.6.2
ERR! npm -v 1.1.0-alpha
ERR! code ELIFECYCLE
ERR! message mdns@0.0.3 install: `node-waf configure build`
ERR! message `cmd "/c" "node-waf configure build"` failed with 1
verbose exit [ 1, true ]