运行vue项目时,报错:94% asset optimization ERROR Failed to compile with 4 errors These dependencies were not

时间:2024-03-19 08:55:02

运行vue项目时,报错:94% asset optimization ERROR Failed to compile with 4 errors These dependencies were not found:

运行vue项目时,报错:94% asset optimization ERROR Failed to compile with 4 errors These dependencies were not
一开始按照上面的提示执行:npm install --save命令再执行运行的命令,但是没用。后来把项目中的node_modules文件删掉,重新npm install一遍,再执行运行命令,成功!