1
我想在Ubuntu 11.10上安装now.js(在wubi上运行,如果有的话)。我已经下载并安装了node,npm和socket.io,但是sudo npm install now
因某些原因失败。我尝试了使用和不使用sudo,尝试在全局安装它,同样的错误。 Make安装得很好......是否与node-proxy软件包有关?对于它的价值,尝试npm install node-proxy
会产生类似的错误。nowjs /节点代理无法安装在Ubuntu 11.10
节点版本0.6.2
NPM版本1.0.106
的Ubuntu 11.10(用五笔窗口)
日志读取,当我尝试现在安装:
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
> [email protected] install /home/my_name/node_modules/now/node_modules/node-proxy
> make
BUILDING: C++ Component
/bin/sh: node-waf: not found
cp: cannot stat `src/build/*/node-proxy.node': No such file or directory
make: *** [all] Error 1
npm ERR! error installing [email protected] Error: [email protected] install: `make`
npm ERR! error installing [email protected] `sh "-c" "make"` failed with 2
npm ERR! error installing [email protected] at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:70:17)
npm ERR! error installing [email protected] at maybeExit (child_process.js:359:16)
npm ERR! error installing [email protected] at Process.onexit (child_process.js:395:5)
npm ERR! error installing [email protected] Error: [email protected] install: `make`
npm ERR! error installing [email protected] `sh "-c" "make"` failed with 2
npm ERR! error installing [email protected] at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:70:17)
npm ERR! error installing [email protected] at maybeExit (child_process.js:359:16)
npm ERR! error installing [email protected] at Process.onexit (child_process.js:395:5)
npm ERR! [email protected] install: `make`
npm ERR! `sh "-c" "make"` failed with 2
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the node-proxy 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 node-proxy
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.0.0-13-generic
npm ERR! command "node" "/usr/bin/npm" "install" "now"
npm ERR! cwd /home/my_name
npm ERR! node -v v0.6.2
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/my_name/npm-debug.log
npm not ok
哦,哇,完美的作品。谢谢! –