vue add 命令报错Error: The project seems to require yarn but it‘s not installed

vue add 命令报错Error: The project seems to require yarn but it‘s not installed

在这里插入图片描述

出现这个原因的话,如果在项目里面是因为项目中存在 yarn.lock
在这里插入图片描述

只需要把yarn.lock在该项目删除就可以了

猜你喜欢

转载自blog.csdn.net/a1783118/article/details/127667157