npm install node-proxy 这个一直安装不上,是什么原因? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yakczh
V2EX    Node.js

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

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

    > [email protected] 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! [email protected] install: `node-gyp configure build`
    npm ERR! `sh "-c" "node-gyp configure build"` failed with 1
    npm ERR!
    npm ERR! Failed at the [email protected] 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: [email protected] 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
    lch21
        1
    lch21  
       2013-04-24 23:18:01 +08:00
    python 版本太低,装2.7.4
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     1172 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 35ms UTC 17:48 PVG 01:48 LAX 09:48 JFK 12:48
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86