Skip to content

使用vue-cli脚手架工具构建时,一直卡在download template问题 #372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
w3cteching opened this issue Feb 22, 2017 · 4 comments
Closed

Comments

@w3cteching
Copy link

我用npm install vue-cli -g p 安装完,但用vue init webpack pro_name时,一直卡在了那个download template那里,最终报了一个vue-cli · Failed to download repo vuejs-templates/webpack: connect ETIMEDOUT 192.30.252.122:443这个错误
我的系统环境:mac,node:6.9.1,npm使用的是淘宝镜像,希望大神们能指点一二,不知道尤大有人给您反馈过这个问题没有,刚才看了issues,好像没有这个问题

@xCss
Copy link

xCss commented Feb 23, 2017

同遇到这个问题:

$ vue init webpack project_name

  This will install Vue 2.x version of the template.

  For Vue 1.x use: vue init webpack#1.0 project_name

  vue-cli · Failed to download repo vuejs-templates/webpack: connect ETIMEDOUT 192.30.253.112:443
  • Windows 10 企业版 x64
  • vue 2.8.1
  • node v6.3.1
  • npm 3.10.3

@PeakTai
Copy link

PeakTai commented Feb 23, 2017

我也遇到了,为什么要做成即时下载的呢,可以将模板集成在vue-cli里面吗?

@posva
Copy link
Member

posva commented Feb 23, 2017

Duplicate of #371

@posva posva closed this as completed Feb 23, 2017
@w3cteching
Copy link
Author

解决了,我好像以前改过hosts,把改过的hosts删除了,即好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants