执行npm run dev命令出现94% asset optimization ERROR Failed to compile with 2 errors These dependencies

时间:2024-03-19 08:54:08

执行npm run dev命令出现94% asset optimization ERROR Failed to compile with 2 errors These dependencies were not fond:

执行npm run dev命令出现94% asset optimization ERROR Failed to compile with 2 errors These dependencies
是因为项目中运用到了swiper轮播图,但还未安装swiper的插件,执行npm install swiper --dev就好了

PS:两个类似的错误,就是想把他们当笔记一样记录下来