2013-02-22 70 views
4

我已经安装在CentOS 的Node.js从源头这样的:的Node.js + CentOS的+节点-WAF

yum install gcc-c++ make git 
cd /usr/local/src/ 
git clone git://github.com/joyent/node.git 
cd node 
./configure 
make 
make install 

但同时通过NPM安装模块我得到的错误:

sh: node-waf: command not found 
npm ERR! [email protected] install: `node-waf configure install` 
npm ERR! `sh "-c" "node-waf configure install"` failed with 127 
npm ERR! 
npm ERR! Failed at the [email protected] install script. 
npm ERR! This is most likely a problem with the threads_a_gogo package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  node-waf configure install 
npm ERR! You can get their info via: 
npm ERR!  npm owner ls threads_a_gogo 
npm ERR! There is likely additional logging output above. 

是这个问题与CentOS相关,或者有可能出错? This链接建议,只有当节点没有从源安装时,才会发生此错误....在这种情况下,它是它是

+1

我遇到了同样的问题。它正在使用node.js的v0.8.19,但在尝试安装v0.10.0时停止工作。 – MrLore 2013-03-14 09:47:37

+0

确切!我做了一个回滚到旧版本,它开始工作,新版本中必须有一个错误:( – Michal 2013-03-14 10:09:12

回答

相关问题