Node.js 从npm安装CTAG:没有这样的选项——没有并行

Node.js 从npm安装CTAG:没有这样的选项——没有并行,node.js,npm,ctags,Node.js,Npm,Ctags,我最近安装了node和npm来试用它,但在安装一个模块时,它卡在了它所依赖的ctags包上。试图只安装CTAG导致了一个奇怪的错误,我无法找到解决方案 henje@mymachine:~/test/node-ctags$ npm install npm http GET https://registry.npmjs.org/grunt npm http GET https://registry.npmjs.org/nan/0.8.0 npm http GET https://registry.n

我最近安装了node和npm来试用它,但在安装一个模块时,它卡在了它所依赖的ctags包上。试图只安装CTAG导致了一个奇怪的错误,我无法找到解决方案

henje@mymachine:~/test/node-ctags$ npm install
npm http GET https://registry.npmjs.org/grunt
npm http GET https://registry.npmjs.org/nan/0.8.0
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/grunt-contrib-coffee
npm http GET https://registry.npmjs.org/event-stream
npm http GET https://registry.npmjs.org/grunt-shell
npm http GET https://registry.npmjs.org/node-gyp
[...]

> ctags@0.11.0 install /home/henje/test/node-ctags
> node-gyp rebuild

Usage: gyp_main.py [options ...] [build_file ...]

gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:340:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 2.6.36.4-vs2.3.0.36.39-nc
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/henje/test/node-ctags
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok

npm ERR! ctags@0.11.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ctags@0.11.0 install script.
npm ERR! This is most likely a problem with the ctags package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls ctags
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.36.4-vs2.3.0.36.39-nc
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/henje/test/node-ctags
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.6
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/henje/test/node-ctags/npm-debug.log
npm ERR! not ok code 0

我不确定这是一个普遍的问题还是公正的问题。我尝试了
npm安装ctags
以及从github克隆。我还检查了我是否有gyp的最新gcc等,不知道还有什么。非常感谢您的回答。

在尝试安装pm2模块时,我也遇到了这个问题。 作为一种解决方法,移除gyp为我解决了这个问题:

sudo-apt-get-remove-gyp

以下是pm2存储库中列出的问题本身: