JustinTulloss / zeromq.node

Node.js bindings to the zeromq library
MIT License
1.65k stars 284 forks source link

node-waf configure build make: node-waf: No such file or directory in MacOS #100

Open yimiqisan opened 12 years ago

yimiqisan commented 12 years ago

mark:node_modules 123$ sudo npm install socket.io Password: npm http GET https://registry.npmjs.org/socket.io npm http 304 https://registry.npmjs.org/socket.io npm http GET https://registry.npmjs.org/socket.io-client/0.9.2 npm http GET https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/redis/0.6.7 npm http 304 https://registry.npmjs.org/socket.io-client/0.9.2 npm http 304 https://registry.npmjs.org/redis/0.6.7 npm http 304 https://registry.npmjs.org/policyfile/0.0.4 npm http GET https://registry.npmjs.org/uglify-js/1.2.5 npm http GET https://registry.npmjs.org/ws npm http GET https://registry.npmjs.org/xmlhttprequest/1.2.2 npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1 npm http 304 https://registry.npmjs.org/uglify-js/1.2.5 npm http 304 https://registry.npmjs.org/xmlhttprequest/1.2.2 npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1 npm http 304 https://registry.npmjs.org/ws npm http GET https://registry.npmjs.org/zeparser/0.0.5

ws@0.4.8 preinstall /Users/yimiqisan/git/npm/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws make

node-waf configure build make: node-waf: No such file or directory make: *\ [all] Error 1

npm ERR! Error: ENOENT, chown '/Users/yimiqisan/git/npm/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js' npm ERR! You may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com npm ERR! npm ERR! System Darwin 11.3.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "socket.io" npm ERR! cwd /Users/yimiqisan/git/npm/node_modules npm ERR! node -v v0.7.7-pre npm ERR! npm -v 1.1.8 npm ERR! path /Users/yimiqisan/git/npm/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js npm ERR! fstream_path /Users/yimiqisan/git/npm/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! fstream_finish_call chown npm ERR! code ENOENT npm ERR! message ENOENT, chown '/Users/yimiqisan/git/npm/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/test/empty-blocks.js' npm ERR! errno {} npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:285:17 npm ERR! fstream_stack Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:231:7)

npm ERR! ws@0.4.8 preinstall: make npm ERR! sh "-c" "make" failed with 2 npm ERR! npm ERR! Failed at the ws@0.4.8 preinstall script. npm ERR! This is most likely a problem with the ws package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! make npm ERR! You can get their info via: npm ERR! npm owner ls ws npm ERR! There is likely additional logging output above. npm ERR! npm ERR! System Darwin 11.3.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "socket.io" npm ERR! cwd /Users/yimiqisan/git/npm/node_modules npm ERR! node -v v0.7.7-pre npm ERR! npm -v 1.1.8 npm ERR! code ELIFECYCLE npm ERR! message ws@0.4.8 preinstall: make npm ERR! message sh "-c" "make" failed with 2 npm ERR! errno {} npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/yimiqisan/git/npm/node_modules/npm-debug.log npm not ok

randomstep commented 12 years ago

Can you do which node-waf? Might have to install nodejs-dev.