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

2013-10-17 15:11:32 +08:00
 yeelone
今天学习 yeoman 来构建 angular 项目 ,我也不知道这个问题该放在哪个节点 ,想应该是nodejs 的节点吧,如果发错节点请大家包涵。

yeoman 创建app :
$ yo angular main
报如下错误 :
karma-ng-html2js-preprocessor@0.1.0 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不熟,不知道该如何解决这个问题,请大家帮帮忙,谢谢。
4207 次点击
所在节点    Node.js
1 条回复
sxd
2013-10-18 10:01:32 +08:00
yeoman angular 都是前端的东西 肯定不放在nodejs节点啦

错误是超时 可能你的网络有问题 翻出去再yo

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/85883

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX