繁体   English   中英

运行MRT时出现NPM错误添加Kadira

[英]NPM errors when running mrt add kadira

当试图运行MRT添加kadira我得到这个错误。 我可以添加其他软件包,例如iron-router或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

我相信这是Kadira的二进制npm依赖关系的问题,并且在以下问题中有所报道:

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

应该尽快修复。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM