JustinTulloss/zeromq.node — Issue #73: npm install zmq on windows error
Author: Yangpu
Created: 2011-12-30 02:15:25+00:00
State: open

I try to install zmq on windows, however, it reports some error:

PS C:\program files\nodejs> npm install zmq

> zmq@2.0.0 preinstall C:\program files\nodejs\node_modules\zmq
> node-waf clean || true; node-waf configure build

'node-waf' is not recognized as an internal or external command,
operable program or batch file.
'true' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! error installing zmq@2.0.0 Error: zmq@2.0.0 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing zmq@2.0.0 `cmd "/c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing zmq@2.0.0 at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\
exec.js:49:20)
npm ERR! error installing zmq@2.0.0 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing zmq@2.0.0 at maybeExit (child_process.js:359:16)
npm ERR! error installing zmq@2.0.0 at Process.onexit (child_process.js:395:5)
npm ERR! zmq@2.0.0 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! `cmd "/c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the zmq@2.0.0 preinstall script.
npm ERR! This is most likely a problem with the zmq package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls zmq
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.0.6002
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
"install" "zmq"
npm ERR! cwd C:\program files\nodejs
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\program files\nodejs\npm-debug.log
npm not ok