-
-
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
Latest version cannot create anything without yarn #3421
Comments
Can't reproduce. |
Tried to reproduce again and failed (today was my third install of version 3.4.0). |
I ran into a similar issue with a very similar error message, which I could not figure out for a long time. I wanted to record what I discovered in the hope that it could help someone in the future. When I would create new Vue projects with After trying a bunch of things, I reinstalled Yarn and everything worked again. I could see that Vue CLI was clearly creating projects with Yarn, but I didn't know why. And then I came across this post: #1300. I also read the documentation that explains the |
@SamuelEarl Thank you for the hint with |
had the same issue. |
I had the same problem today. I had installed yarn before via npm and then removed it recently. npm list had only two packages.
I checked removing the ~/.vuerc file fixed the problem for me. |
I had I guess in my case, I tampered some core files for node while I was switching between different versions of nodejs using nvm. In the process I modified some globally installed packages, which is where I guess, @vue/cli was tampered. |
I had the same problem and removing the I'm using
I removed the
and after
|
@hayashi-ay |
@sodatea thanks for explaining the |
@sodatea Hi there, I've just come up with three questions. Please let me know if it doesn't bother you.
I also glanced at the pinning process and found that the option is likely to be The output of pinning to the both registries is below. I found that the taobao registry win the promise race with a higly probability.
|
@hayashi-ay I guess because Japan is so close to China, the connectivity is fine. Then you'll be fine with either registry.
In other countries, it may take too long to download from the mirror registry: #5144 #1385
In China, home broadband users are likely to face QoS issues when accessing oversea servers. So downloading from the official npm registry may be slow unless you are using commercial broadband. Besides, due to the GFW, many websites are not accessible in China including most Google servers (making When |
Version
3.4.0
Environment info
Steps to reproduce
What is expected?
Wizard starts, asking for options e.g. which package manager to use.
What is actually happening?
Yarn is missing (although not needed), wizard and childprocess crash.
Any attempts in forcing npm as a packageManager (via .vuerc) were futile, either returning the same error or this one:
The text was updated successfully, but these errors were encountered: