vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.76k stars 6.33k forks source link

vue-cli · Failed to download repo vuejs-templates/webpack: read ECONNRESET #757

Closed mayefeng closed 6 years ago

mayefeng commented 6 years ago

Version

Reproduction link

https://jsfiddle.net/b5u87965/

Steps to reproduce

when create a new vue project:

vue init webpack my-project

vue-cli · Failed to download repo vuejs-templates/webpack: read ECONNRESET

What is expected?

init a new vue project

What is actually happening?

vue-cli · Failed to download repo vuejs-templates/webpack: read ECONNRESET

mayefeng commented 6 years ago

@yyx990803 @Jinjiang please help me for this issue,thanks

jslaplante commented 6 years ago

same here. :/

yyx990803 commented 6 years ago

Does this happen with old version of vue-cli 2.9.2? If that happens, it's likely a network problem.

yyx990803 commented 6 years ago

Fixed via 6ce8565

mayefeng commented 6 years ago

@yyx990803 it still doesn't work

auzystephens commented 6 years ago

@mayefeng I was having the same issue but I updated my global NPM module;

sudo npm update -g @vue

and installed the global addon,

sudo npm i -g @vue/cli-init

and all is working now.

mayefeng commented 6 years ago

@auzystephens thanks for your help,but it still can not work.

Kolymb-Kapustin commented 6 years ago

I have almost the same problem. @vue/cli@3.0.0-beta.11 vue-cli · Failed to download repo vuejs-templates/clie: Response code 404 (Not Found)

evinkuraga commented 6 years ago

Same problem

`$ vue init webpack-simple testwp

vue-cli · Failed to download repo vuejs-templates/webpack-simple: self signed certificate in certificate chain `

Vue cli version: 3.0.0-beta.1 Npm: 6.1.0 Node: 8.11.2 Env: Win10

bobpappas commented 6 years ago

doesn't work for me

bpappas-281:Code bpappas$ vue init webpack fire-app

Unknown command init.

vue-cli · Failed to download repo vuejs-templates/[object Object]: Response code 404 (Not Found)

tollogaran commented 6 years ago

i updated npm, and still the same prob:

$ vue init webpack-simple projsimple Unknown command init. vue-cli · Failed to download repo vuejs-templates/[object Object]: Response code 404 (Not Found)

Work form me: vue-init webpack my-project
and vue-init webpack-simple my-project

georgelilis commented 6 years ago

Under Windows 10 and looking at ~\AppData\Roaming\npm folder there is a vue-cli.bat

I executed "vue-cli init webpack my-project" and it worked.

Notice the '-'

for some reason official way "vue init webpack my-project" not working anymore although removed and install vue-cli again

celorodovalho commented 6 years ago

$ vue init webpack my-project

Unknown command init.

vue-cli · Failed to download repo vuejs-templates/[object Object]: Response code 404 (Not Found)

Alercard commented 6 years ago

I have this issue too!

vue-cli · Failed to download repo vuejs-templates/[object Object]: Response code 404 (Not Found)

hiamirh commented 6 years ago

vue-init vuetifyjs/webpack-ssr my-project worked for me

Alercard commented 6 years ago

That's right, vue-init works for me too! Ty

dejongnj commented 6 years ago

Seem like this is a well reported issue but having the same issue here. Some system information, if it helps: macOS Sierra 10.12.6 Node v8.11.2 npm v5.6.0

EDIT vue-init webpack my-project worked for me

rickychan0611 commented 6 years ago

its vue-init (with -) but not vue init

HelloAndyZhang commented 6 years ago

win下是这样!

Randysheng commented 6 years ago

i have the same issue! OS:win10 node:v9.10.1 npm:5.6.0 vue-cli:2.9.4

bobpappas commented 6 years ago

From the 'vue -h' of 3.0.0-beta15: init [options]