vue-cli · Failed to download repo vuejs-templates/webpack: read ECONNRESET
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
@yyx990803 @Jinjiang please help me for this issue,thanks
same here. :/
Does this happen with old version of vue-cli 2.9.2? If that happens, it's likely a network problem.
Fixed via 6ce8565
@yyx990803 it still doesn't work
@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 thanks for your help,but it still can not work.
I have almost the same problem. @vue/[email protected] vue-cli · Failed to download repo vuejs-templates/clie: Response code 404 (Not Found)
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
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)
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
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
$ vue init webpack my-project
Unknown command init.
vue-cli · Failed to download repo vuejs-templates/[object Object]: Response code 404 (Not Found)
I have this issue too!
vue-cli · Failed to download repo vuejs-templates/[object Object]: Response code 404 (Not Found)
vue-init vuetifyjs/webpack-ssr my-project worked for me
That's right, vue-init works for me too! Ty
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
its vue-init (with -) but not vue init
win下是这样!
i have the same issue! OS:win10 node:v9.10.1 npm:5.6.0 vue-cli:2.9.4