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.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"
posted on 2022-12-05 10:54 zyp_java_net 阅读(480) 评论(0) 编辑 收藏 举报