inyfee
V2EX  ›  Node.js

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

  •  
  •   inyfee · Oct 17, 2013 · 5014 views
    This topic created in 4653 days ago, the information mentioned may be changed or developed.
    今天学习 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 replies    1970-01-01 08:00:00 +08:00
    sxd
        1
    sxd  
       Oct 18, 2013
    yeoman angular 都是前端的东西 肯定不放在nodejs节点啦

    错误是超时 可能你的网络有问题 翻出去再yo
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3019 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:19 · PVG 22:19 · LAX 07:19 · JFK 10:19
    ♥ Do have faith in what you're doing.