您的位置: 首页 > 文章 > 运行vue项目时,报错:94% asset optimization ERROR Failed to compile with 4 errors These dependencies were not 运行vue项目时,报错:94% asset optimization ERROR Failed to compile with 4 errors These dependencies were not 分类: 文章 • 2022-10-07 21:32:12 运行vue项目时,报错:94% asset optimization ERROR Failed to compile with 4 errors These dependencies were not found: 一开始按照上面的提示执行:npm install --save命令再执行运行的命令,但是没用。后来把项目中的node_modules文件删掉,重新npm install一遍,再执行运行命令,成功!