vue/cli Error: Cannot find module ‘@vue/cli-shared-utils‘
运行项目时出现错误:Error: Cannot find module ‘@vue/cli-shared-utils’npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! screen-vue-datav@1.0.1 serve: vue-cli-service servenpm ERR! Exit status 1npm ERR!npm ERR! Fa
·
运行项目时出现错误:
Error: Cannot find module ‘@vue/cli-shared-utils’
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! screen-vue-datav@1.0.1 serve:vue-cli-service serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the screen-vue-datav@1.0.1 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2020-08-30T02_07_10_068Z-debug.log
在项目文件下
npm cache clean --force # 清理缓存
npm install # 或者 cnpm install (install后面不加任何内容)
npm update # 或者 cnpm update (建议选择cnpm(国内镜像源))
# 再次运行项目
npm run serve
更多推荐
已为社区贡献1条内容
所有评论(0)