hussion
V2EX  ›  Node.js

node.js 0.10.0 问题~

  •  
  •   hussion · Mar 17, 2013 · 5077 views
    This topic created in 4996 days ago, the information mentioned may be changed or developed.
    node.js升级到到0.10.0后,通过npm安装扩展模块老是报错~求解答。。。下面贴出npm-debug.log内容。

    4771 error Error: read ETIMEDOUT
    4771 error at errnoException (net.js:863:11)
    4771 error at TCP.onread (net.js:524:19)
    4772 error If you need help, you may report this log at:
    4772 error <http://github.com/isaacs/npm/issues>;
    4772 error or email it to:
    4772 error <[email protected]>;
    4773 error System Darwin 12.3.0
    4774 error command "/usr/local/Cellar/node/0.10.0/bin/node" "/usr/local/bin/npm" "install" "-g" "forever"
    4775 error cwd /Users/hussion
    4776 error node -v v0.10.0
    4777 error npm -v 1.2.14
    4778 error syscall read
    4779 error code ETIMEDOUT
    4780 error errno ETIMEDOUT
    4781 verbose exit [ 1, true ]

    PS: 更换npm镜像地址后也是如此
    4 replies  •  1970-01-01 08:00:00 +08:00
    cfddream
    cfddream
    Mar 17, 2013
    1
    试下
    npm cache clean && npm install -g forever
    alsotang
    alsotang
    Mar 17, 2013
    2
    用的是 heroku?
    pnchen
    pnchen
    Mar 21, 2013
    3
    我也遇到同样的问题,请问有什么解决办法吗。
    hussion
    hussion
    OP
    Mar 21, 2013
    4
    @alsotang
    @pnchen
    后来又查了下,这是0.10.0的bug,只有等到node.js官方更新了。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1434 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 16:55 · PVG 00:55 · LAX 08:55 · JFK 11:55
    ♥ Do have faith in what you're doing.