运行mrt时的NPM错误添加了kadira

时间:2014-06-25 21:14:42

标签: javascript jquery node.js meteor

尝试运行mrt时添加kadira我收到此错误。我可以添加其他软件包如铁路由器或collectionFS,不知道导致问题的是什么。我已经尝试更新我的npm版本,但这似乎没有做太多。有人有什么想法吗?

kadira: updating npm dependencies -- debug, usage...
npm http GET https://registry.npmjs.org/usage
npm http 304 https://registry.npmjs.org/usage
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/bindings
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     (/home/theostyles/.meteor/tools/858c88b520/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:807:12)
gyp ERR! System Linux 3.13.0-29-generic
gyp ERR! command "node"     "/home/theostyles/.meteor/tools/858c88b520/lib/node_modules/npm/node_modules/node-    gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd     /home/theostyles/.meteorite/packages/kadira/meteorhacks/kadira/6073fa5bdfb36478165977804f92    2796b6fc82de/.npm/package-new-1dwhr1e/node_modules/usage
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok 
npm ERR! usage@0.4.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the usage@0.4.3 install script.
npm ERR! This is most likely a problem with the usage 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 usage
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.13.0-29-generic
npm ERR! command "/home/theostyles/.meteor/tools/858c88b520/bin/node"     "/home/theostyles/.meteor/tools/858c88b520/bin/npm" "install" "usage@0.4.3"
npm ERR! cwd     /home/theostyles/.meteorite/packages/kadira/meteorhacks/kadira/6073fa5bdfb36478165977804f92    2796b6fc82de/.npm/package-new-1dwhr1e
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!         /home/theostyles/.meteorite/packages/kadira/meteorhacks/kadira/6073fa5bdfb36478165977804f92    2796b6fc82de/.npm/package-new-1dwhr1e/npm-debug.log
npm ERR! not ok code 0

=> Errors while scanning packages:

While building package `kadira`:
error: couldn't install npm package

    /usr/local/lib/node_modules/meteorite/lib/command.js:41
        throw "Command exited with " + code + "/" + signal;
                                                  ^
    Command exited with 1/null

1 个答案:

答案 0 :(得分:0)

我认为这是Kadira的二进制npm依赖项的问题,并且已在以下问题中报告:

  

https://github.com/meteor/meteor/issues/2249

应尽快解决。

相关问题