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鏈接建議,只有當節點沒有從源安裝時,纔會發生此錯誤....在這種情況下,它是它是。
我遇到了同樣的問題。它正在使用node.js的v0.8.19,但在嘗試安裝v0.10.0時停止工作。 – MrLore 2013-03-14 09:47:37
確切!我做了一個回滾到舊版本,它開始工作,新版本中必須有一個錯誤:( – Michal 2013-03-14 10:09:12