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

yeoman 创建 app 报错,请问如何解决 ?

  •  
  •   yeelone · 2013-10-17 15:11:32 +08:00 · 4177 次点击
    这是一个创建于 3816 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天学习 yeoman 来构建 angular 项目 ,我也不知道这个问题该放在哪个节点 ,想应该是nodejs 的节点吧,如果发错节点请大家包涵。

    yeoman 创建app :
    $ yo angular main
    报如下错误 :
    [email protected] node_modules/karma-ng-html2js-preprocessor

    stream.js:94
    throw er; // Unhandled stream error in pipe.
    ^
    Error: connect ETIMEDOUT
    at errnoException (net.js:884:11)
    at Object.afterConnect [as oncomplete] (net.js:875:19)
    npm ERR! weird error 8

    events.js:72
    throw er; // Unhandled 'error' event
    ^
    Error: connect ETIMEDOUT
    at errnoException (net.js:884:11)
    at Object.afterConnect [as oncomplete] (net.js:875:19)

    events.js:72
    throw er; // Unhandled 'error' event
    ^
    Error: connect ETIMEDOUT
    at errnoException (net.js:884:11)
    at Object.afterConnect [as oncomplete] (net.js:875:19)

    events.js:72
    throw er; // Unhandled 'error' event
    ^
    Error: connect ETIMEDOUT
    at errnoException (net.js:884:11)
    at Object.afterConnect [as oncomplete] (net.js:875:19)
    npm ERR! not ok code 0


    本人对node不熟,不知道该如何解决这个问题,请大家帮帮忙,谢谢。
    1 条回复    1970-01-01 08:00:00 +08:00
    sxd
        1
    sxd  
       2013-10-18 10:01:32 +08:00
    yeoman angular 都是前端的东西 肯定不放在nodejs节点啦

    错误是超时 可能你的网络有问题 翻出去再yo
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2900 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:16 · PVG 19:16 · LAX 04:16 · JFK 07:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.