V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hussion
V2EX  ›  Node.js

node.js 0.10.0 问题~

  •  
  •   hussion · 2013-03-17 15:42:15 +08:00 · 3864 次点击
    这是一个创建于 4047 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 条回复    1970-01-01 08:00:00 +08:00
    cfddream
        1
    cfddream  
       2013-03-17 16:40:19 +08:00
    试下
    npm cache clean && npm install -g forever
    alsotang
        2
    alsotang  
       2013-03-17 17:19:57 +08:00
    用的是 heroku?
    pnchen
        3
    pnchen  
       2013-03-21 00:44:08 +08:00
    我也遇到同样的问题,请问有什么解决办法吗。
    hussion
        4
    hussion  
    OP
       2013-03-21 09:56:28 +08:00
    @alsotang
    @pnchen
    后来又查了下,这是0.10.0的bug,只有等到node.js官方更新了。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5726 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 06:03 · PVG 14:03 · LAX 23:03 · JFK 02:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.