-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
ERROR when use vue create #889
Comments
You can change it by editing Is that log all you get? Nothing else? |
I changed back to vue-cli, it's ok to init project. |
I installed internal package global, but that does not work. |
Should be an npm + windows issue: npm/npm#19032 |
But I use mac, os x v10.11.6. |
@vvpvvp |
Can you update vue-cli? You can check your version with |
i am using the latest version of vue-cli , the version is 3.0.0-beta.11, it is the same with yours, i had tried to update vue-cli but did not work |
Ok, based on the error you posted on stackoverflow, it seems related to a plugin you are installing. I guess you already found this thread since you tried |
i have updated my npm too, i also updated it to 6.1.0, but did not work , maybe i should try to reinstall the node.js, vue-cli and the npm , thank you for your help! |
i have updated my npm too, i also updated it to 6.1.0, but did not work , maybe i should try to reinstall the node.js, vue-cli and the npm , thank you for your help! |
According to this issue, cleaning npm cache hopefully helps the problem |
@vvpvvp |
@MartinYounghoonKim |
I also couldn't fix the problem with anything suggested. I am running Win 10. So, I tried using Yarn an alternative to NPM. It's been suggested that it's much faster and, at least visually on my system, it is. To make this work I did the following: npm remove -g @vue/cli (I was working with the vue cli 3 version - vue cli 2 still worked with npm) Then I installed Yarn (https://yarnpkg.com/lang/en/docs/install/#windows-stable). I used the .MSI option. Had no problems. Note: I had changed the default registry (was another suggestion on a different site) so make sure you reset it to: Then use the Yarn commands to install the vue cli: I was then able to create a new project and added the Quasar cli also without a problem (at least so far). There is apparently a problem with the taobao mirror when using NPM. Everything I've seen has people pointing fingers at the other. Who knows. Yarn works. |
I am using "vue-cli 3.0.0-rc.1", I solve the problems by setting the ~/.vuerc from "useTaobaoRegistry": true, to false. |
@qaoo8 |
@vvpvvp My commands: |
@qaoo8 |
@yyx990803 @qaoo8 thanks, that solved my problem |
@qaoo8 That really solved my problem, too! |
@qaoo8 thanks, it solved. |
node/10.6.0 got this error |
@2moemo thank you!!! problem solved :) |
@qaoo8 thanks you, problem solved |
@2moemo That fixed it for me too ! Thanks |
@2moemo thank you!!! problem solved |
@2moemo thank you. simple and rude. hh |
using yarn meets same issue |
maybe you need to install python.. |
Its worked for me |
That‘s great! |
just delete
|
This also worked for me on Ubuntu 18.04 (fresh install). I've first removed the The output was that my connection to the default repository was slower... But it seems the exact opposite |
删除已有文件 ~/.vuerc 然后 vue create 重置 |
@shenhai1120 |
npm cache clean --force //it works for windows |
Thanks, I solve my problem just uninstall vue-cli |
Thank you.
…On Thu, Sep 26, 2019, 3:48 PM Cristian Leandro Henao Santa < ***@***.***> wrote:
@vvpvvp <https://github.com/vvpvvp>
I solved it by all removing vue modules and re-installing vue modules.
My commands:
$ sudo npm uninstall -g vue
$ sudo npm uninstall -g vue-cli
$ sudo npm uninstall -g @vue/cli
$ sudo npm cache clean --force
$ sudo npm install -g vue
$ sudo npm install -g @vue/cli
Thanks, I solve my problem just uninstall vue-cli
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#889?email_source=notifications&email_token=AK6VM5XIQKXIKL7MPMJHSY3QLTDTBA5CNFSM4ESRG3U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7V22MY#issuecomment-535538995>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AK6VM5VYYNKG4YGK3RJK5VTQLTDTBANCNFSM4ESRG3UQ>
.
|
@2moemo Thank You .... |
@2moemo |
@2moemo |
@qaoo8 it works, thank you |
What worked for me: Not trying to Solution: runing I'm running Windows 10. I hope this helps someone. |
Nice, Thank. This work for me |
It can aslo be solved.
|
Thanks, That solved my problem!!! |
Thanks man. |
npm install -g @vue/cl Just run it, This work for me |
obg. isso resolveu meu porblema! |
obg. vinha tendo esse problema, esses comandos resolveram! |
@PriyanSiva thanks. i'm using win 10, with cmder apps. any people with the same os like me can use:
|
I had same issue when i was installing vue-cli with npx .... tried all the solutions from google.. nothing worked for me .. so then i moved to install vue-cli with yarn package manager thats when i figured out the issue .. my issue was basically my node version which was 8.x.x but yarn was expecting 10.x.x with nvm i have installed latest node which is 16.x.x then tried installing vue-cli with yarn .. it worked like charm!!!! |
that works for me thank you |
Both didn't work for me but I removed ~/.vuerc file, and now it works. |
您好,您发送的邮件已收到!
|
Try with this code
|
Version
3.0.0-alpha.13
Reproduction link
http://www.heyui.top/
Steps to reproduce
npm create test1
Please pick a preset: default (babel, eslint)
What is expected?
create successfull
What is actually happening?
ERROR command failed: npm install --loglevel error --registry=https://registry.npm.taobao.org --disturl=https://npm.taobao.org/dist
I choosed taobao registry, I can't change anymore.
The text was updated successfully, but these errors were encountered: