问题遇到的现象和发生背景
不知道是不是依赖问题
运行结果及报错内容
PS D:\Web前端源码\14_Vue.js源码\VUE3\musicapp> npm install swiper vue-awesome-swiper --save
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: musicapp@0.1.0
npm ERR! Found: swiper@7.3.1
npm ERR! node_modules/swiper
npm ERR! swiper@"^7.3.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer swiper@"^5.2.0" from vue-awesome-swiper@4.1.1
npm ERR! node_modules/vue-awesome-swiper
npm ERR! vue-awesome-swiper@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\拾柒\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\拾柒\AppData\Local\npm-cache\_logs\2021-11-29T12_16_47_836Z-debug.log