首页   注册   登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Node.js
Express
PPA for Ubuntu
ppa:chris-lea/node.js
V2EX  ›  Node.js

npm install node-proxy 这个一直安装不上,是什么原因?

  •  
  •   yakczh · 2013-04-01 15:28:10 +08:00 · 3760 次点击
    这是一个创建于 2211 天前的主题,其中的信息可能已经有所发展或是发生改变。
    npm install node-proxy
    npm http GET https://registry.npmjs.org/node-proxy
    npm http 304 https://registry.npmjs.org/node-proxy

    > node-proxy@0.6.0 install /srv/node/jsgen/node_modules/node-proxy
    > node-gyp configure build

    gyp ERR! configure error Error: Command failed: Unknown option: --
    gyp ERR! configure error usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
    gyp ERR! configure error Try `python -h' for more information.
    gyp ERR! configure error
    gyp ERR! configure error at ChildProcess.exithandler (child_process.js:536:15)
    gyp ERR! configure error at ChildProcess.EventEmitter.emit (events.js:91:17)
    gyp ERR! configure error at maybeClose (child_process.js:634:16)
    gyp ERR! configure error at Socket.ChildProcess.spawn.stdin (child_process.js:805:11)
    gyp ERR! configure error at Socket.EventEmitter.emit (events.js:88:17)
    gyp ERR! configure error at Socket._destroy.destroyed (net.js:358:10)
    gyp ERR! configure error at process.startup.processNextTick.process._tickCallback (node.js:315:13)
    gyp ERR! configure error at process.startup.processMakeCallback.process._makeCallback (node.js:243:15)
    gyp ERR! not ok
    npm ERR! node-proxy@0.6.0 install: `node-gyp configure build`
    npm ERR! `sh "-c" "node-gyp configure build"` failed with 1
    npm ERR!
    npm ERR! Failed at the node-proxy@0.6.0 install script.
    npm ERR! This is most likely a problem with the node-proxy package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! node-gyp configure build
    npm ERR! You can get their info via:
    npm ERR! npm owner ls node-proxy
    npm ERR! There is likely additional logging output above.

    npm ERR! System Linux 2.6.18-308.el5
    npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-proxy"
    npm ERR! cwd /srv/node/jsgen
    npm ERR! node -v v0.9.0
    npm ERR! npm -v 1.1.44
    npm ERR! code ELIFECYCLE
    npm ERR! stack Error: node-proxy@0.6.0 install: `node-gyp configure build`
    npm ERR! stack `sh "-c" "node-gyp configure build"` failed with 1
    npm ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:56:20)
    npm ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
    npm ERR! stack at Process._handle.onexit (child_process.js:674:10)
    npm ERR! stack at process.startup.processMakeCallback.process._makeCallback (node.js:238:20)
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR! /srv/node/jsgen/npm-debug.log
    npm ERR! not ok code 0
    1 回复  |  直到 1970-01-01 08:00:00 +08:00
        1
    lch21   2013-04-24 23:18:01 +08:00
    python 版本太低,装2.7.4
    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   4084 人在线   最高记录 4385   ·  
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.3 · 20ms · UTC 02:08 · PVG 10:08 · LAX 19:08 · JFK 22:08
    ♥ Do have faith in what you're doing.
    沪ICP备16043287号-1