首页 > 其他分享 >出现yarn启动项目失败

出现yarn启动项目失败

时间:2022-09-21 11:13:27浏览次数:56  
标签:vue run cli service 启动 serve yarn 失败

$ yarn run serve
yarn run v1.22.19
$ vue-cli-service serve
'vue-cli-service' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

大概率是在依赖的卸载过程中删除了重要的某些关联依赖导致的

解决方案是删除所有依赖,重新下载一遍

标签:vue,run,cli,service,启动,serve,yarn,失败
From: https://www.cnblogs.com/Sultan-ST/p/16714865.html

相关文章