Node.JS + CentOS + node-waf [英] Node.JS + CentOS + node-waf

查看:1034
本文介绍了Node.JS + CentOS + node-waf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在CentOS 从源安装了Node.JS,如下所示:

I have installed Node.JS on CentOS from source like this:

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



>我收到错误:

yet while installing modules via npm I get error:

sh: node-waf: command not found
npm ERR! threads_a_gogo@0.1.5 install: `node-waf configure install`
npm ERR! `sh "-c" "node-waf configure install"` failed with 127
npm ERR! 
npm ERR! Failed at the threads_a_gogo@0.1.5 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相关的问题,还是可能出错? 链接表明此错误应该只

is this issue CentOS related, or what is possibly going wrong? This link suggests that this error should only happen if Node is not installed from source....which in this case it is.

推荐答案

node-waf已弃用,已从节点0.10中删除: https://github.com/joyent/ node / issues / 3475
你应该打开一个问题,你试图使用它来更新到node-gyp。

node-waf is deprecated and was removed from node 0.10: https://github.com/joyent/node/issues/3475. You should open an issue with the package you are trying to use to get it updated to node-gyp.

这篇关于Node.JS + CentOS + node-waf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆