hussion
V2EX  ›  Node.js

node.js 0.10.0 问题~

  •  
  •   hussion · Mar 17, 2013 · 4704 views
    This topic created in 4819 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
        1
    cfddream  
       Mar 17, 2013
    试下
    npm cache clean && npm install -g forever
    alsotang
        2
    alsotang  
       Mar 17, 2013
    用的是 heroku?
    pnchen
        3
    pnchen  
       Mar 21, 2013
    我也遇到同样的问题,请问有什么解决办法吗。
    hussion
        4
    hussion  
    OP
       Mar 21, 2013
    @alsotang
    @pnchen
    后来又查了下,这是0.10.0的bug,只有等到node.js官方更新了。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1354 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 75ms · UTC 23:55 · PVG 07:55 · LAX 16:55 · JFK 19:55
    ♥ Do have faith in what you're doing.