Could not resolve dependency:peer swiper@“^5.2.0“ from vue-awesome-swiper@4.1.1
在安装vue-awesome-swiper时报错:Could not resolve dependency:peer swiper@"^5.2.0" from vue-awesome-swiper@4.1.1node_modules/vue-awesome-swipervue-awesome-swiper@"^4.1.1" from the root projectFix the upstream
·
在安装vue-awesome-swiper时报错:
Could not resolve dependency:
peer swiper@"^5.2.0" from vue-awesome-swiper@4.1.1
node_modules/vue-awesome-swiper
vue-awesome-swiper@"^4.1.1" from the root project
Fix the upstream dependency conflict, or retry
原因:swiper的版本太高导致的
重新安装5.2.0版本的swiper就可以了
"swiper": "^5.2.0"
更多推荐
已为社区贡献11条内容
所有评论(0)