Closed mayefeng closed 6 years ago
@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/cli@3.0.0-beta.11 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
From the 'vue -h' of 3.0.0-beta15:
init [options] @vue/cli-init
)
you have to npm install -g @vue/cli-init
They have updated the cli . Now you need a hyphen between vue and init. So it's vue-init
i have solved this problem. just use vue-init not vue init
I don't know why, but I can do it as below.
vue-init webpack my-project
it works!! vue-init instead of vue init
@yyx990803 it still doesn't work
edit vue-init webpack my-project worked for me,thanks
Confirm that vue-init webpack my-project works.
vue-init worked for me at win10
@Muzietto Please be respectful of the work of others, especially if you can use it for free. Thank you.
vue-init not found - windows 10, other ways don't work too
also having this problem
i already update the npm and use "vue-init webpack my-project" and "vue-init webpack-simple my-project",and still don't work.my OS is win10
I have almost the same problem. vue-cli · Failed to download repo vuejs-templates/clie: Response code 404 (Not Found)
This problem should be the installation of vue-cli, If you install global vue-cli, the problem is solved. I installed the local vue-cli, so this error occurred.
npm install -g @vue/cli-init
then the problem is solved.😁
Hi! Not one of the solutions did not fit Windows 8.1
You have just changed the project. Maybe that's why certificates error
Upd I completely reinstalled node, physically deleting all files did not help!
Executed the SET command npm_config_strict_ssl = false
And after that, the "vue init webpack NNN" worked!
but other projects may need http-proxy, you can set it again: npm config set https-proxy http://server:port
I don't know why, but I can do it as below.
vue-init webpack my-project
it's worked for me thank you..
This worked for me:
vui ui
It opens a browser window with a GUI.
same here + 1
please try
sudo vue init webpack my-project
try this! $ npm install -g vue-cli $ vue init webpack my-project $ cd my-project $ npm install $ npm run dev
Whats up with the advanced webpack? I tried to create it like:
vue init webpack-advanced myapp I´ll get: vue-cli · Failed to download repo webpack-advanced: Response code 404 (Not Found)
If I type:
vue init webpack myapp It works.
But I need the advanced package. Help please!
Hi! Thanks all for your help.
For me, vue-init didn't work, but i tried something and worked (surprisingly):
Maybe this can be followed by someone else and may work. I hope it does :)
Best regards!
Hi! Thanks all for your help.
For me, vue-init didn't work, but i tried something and worked (surprisingly):
- I used vue init webpack <-- i accidentally used the default name for the project 'my-project' and it worked
- I thought it might also work if i deleted the existing folder i wanted the files to be created in and tried again
- I used vue init webpack <-- this time plus the real name of my project 'vue-tutorial' (i'm taking a Vue tutorial ;) ) and it worked
Maybe this can be followed by someone else and may work. I hope it does :)
Best regards!
I tried your advice, but it still didn't work. It's very metaphysical.
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