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
yarn error with vue create #3994
Comments
despite running the create command with npm, vue-cli will try to use yarn to install the packages for that new projec for you - if it's installed. (We can't detect how you ran the Since you appearantly have yarn installed, it tries to use yarn, but fails since your yarn config / installation seems broken? You should check to see if running Assuming yarn installation really is broken and you don't succeed in fixing it, as a workaround you can a) uninstall yarn so
|
Another workaround:
|
Closing due to inactivity. |
@sodatea Use the |
@Akryum Ahh I thought it was "stale" and failed to find one. Will definitely use it next time. |
Following this post worked for me. |
Uninstall yarn by
|
Same problem for me. I've just removed yarn from my system. |
This usually happens on Ubuntu since |
you can use |
Version
3.7.0
Environment info
Steps to reproduce
$ npm init
$ npm install @vue/cli
(? i may have used "yarn" in between)
$ vue create myproject
What is expected?
the create process appears
What is actually happening?
00h00m00s 0/0: : ERROR Error: Command failed: yarn config get registry
ERROR: [Errno 2] No such file or directory: 'config'
Error: Command failed: yarn config get registry
ERROR: [Errno 2] No such file or directory: 'config'
this can be a setup process issue as I'm still learning the nodejs ecosystem. But it appeared every time I executed it wherever I installed vue in.
The text was updated successfully, but these errors were encountered: