vue|vue-cli,vue脚手架安装swiper之后,重新启动项目报错This dependency was not found

【vue|vue-cli,vue脚手架安装swiper之后,重新启动项目报错This dependency was not found】vue-cli,vue脚手架安装swiper之后,重新启动项目报错This dependency was not found:To install it, you can run: npm install --save swiper/css/swiper.css
但是按要求安装的时候,又安装不上,
可以把引入的swiper.css文件路径由原来的 import 'swiper/css/swiper.css’换成
import swiper from ‘@/components/Swiper’
如果还是不对,俺就不知道怎么办了
毕竟一个bug改了俩小时。

    推荐阅读