启动vue项目报错:Error: The project seems to require yarn but it's not installed

问题: 将项目拷贝到另一台电脑启动时报错Error: The project seems to require yarn but it's not installed

解决方法:

1.删除项目中的yarn.lock文件

2.终端执行npm install -g yarn

再次启动项目npm run serve 即可

 

 

posted @ 2022-12-21 11:57  手可摘星辰/*  阅读(3648)  评论(0编辑  收藏  举报