vue-cli icon indicating copy to clipboard operation
vue-cli copied to clipboard

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

Open mayefeng opened this issue 8 years ago • 46 comments

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 avatar Feb 01 '18 09:02 mayefeng

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

mayefeng avatar Feb 01 '18 10:02 mayefeng

same here. :/

jslaplante avatar Feb 01 '18 11:02 jslaplante

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

yyx990803 avatar Feb 02 '18 19:02 yyx990803

Fixed via 6ce8565

yyx990803 avatar Feb 02 '18 22:02 yyx990803

@yyx990803 it still doesn't work

mayefeng avatar Feb 03 '18 03:02 mayefeng

@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.

auzystephens avatar Feb 06 '18 02:02 auzystephens

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

mayefeng avatar Feb 06 '18 11:02 mayefeng

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

Kolymb-Kapustin avatar May 24 '18 13:05 Kolymb-Kapustin

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

evinkuraga avatar May 30 '18 13:05 evinkuraga

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)

bobpappas avatar May 30 '18 20:05 bobpappas

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

tollogaran avatar May 30 '18 21:05 tollogaran

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

georgelilis avatar May 30 '18 21:05 georgelilis

$ vue init webpack my-project

Unknown command init.

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

celorodovalho avatar May 30 '18 22:05 celorodovalho

I have this issue too!

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

Alercard avatar May 30 '18 23:05 Alercard

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

hiamirh avatar May 30 '18 23:05 hiamirh

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

Alercard avatar May 30 '18 23:05 Alercard

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

dejongnj avatar May 31 '18 00:05 dejongnj

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

rickychan0611 avatar May 31 '18 01:05 rickychan0611

win下是这样!

HelloAndyZhang avatar May 31 '18 02:05 HelloAndyZhang

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

Randysheng avatar May 31 '18 02:05 Randysheng