跳到主要内容

vs code 环节异常

Error: The project seems to require yarn but it's not installed.

出现这个原因的话,如果在项目里面是因为项目中存在

yarn.lock

只需要把yarn.lock在该项目删除

然后重新安装依赖,并运行开发环境

npm install -g cnpm --registry=https://registry.npm.taobao.org

npm run serve