Skip to content
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

vue create 创建项目时候回报 ERROR command failed: yarn #1101

Closed
lee134134134 opened this issue Apr 10, 2018 · 5 comments
Closed

vue create 创建项目时候回报 ERROR command failed: yarn #1101

lee134134134 opened this issue Apr 10, 2018 · 5 comments

Comments

@lee134134134
Copy link

Version

3.0.0-beta.6

Reproduction link

#1100

Steps to reproduce

image

What is expected?

vue create 创建项目时候回报 ERROR command failed: yarn

What is actually happening?

见附件图片

@posva
Copy link
Member

posva commented Apr 10, 2018

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.

@posva posva closed this as completed Apr 10, 2018
@zhongs
Copy link

zhongs commented Jun 5, 2018

我也碰到这个问题,切回npm来安装就好了;

找到.vuerc隐藏文件 ,路径:C:\Users\你的用户名\ .vuerc
修改packageManager 字段为npm

@alamhubb
Copy link

嗨,感谢您的关注,但Github问题仅针对错误报告和功能请求。您可以在论坛Discord服务器gitterStackOverflow上提问

Is this not a bug?

@AaronConlon
Copy link

我也碰到这个问题,切回npm来安装就好了;

找到.vuerc隐藏文件 ,路径:C:\Users\你的用户名\ .vuerc
修改packageManager 字段为npm

或者在vue create后加-m npm

@zier95
Copy link

zier95 commented Feb 5, 2021

我也遇到这个问题了,先安装yarn: npm install -g yarn,
在创建项目还是会报错,在安装nrm切换镜像,使用nrm use npm ,
切换为npm的镜像后再次安装vue项目

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants