Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install 安装失败 #30

Open
cos800 opened this issue Feb 23, 2022 · 1 comment
Open

npm install 安装失败 #30

cos800 opened this issue Feb 23, 2022 · 1 comment

Comments

@cos800
Copy link

cos800 commented Feb 23, 2022

npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: quail-h5@0.1.0
npm ERR! Found: swiper@6.8.4
npm ERR! node_modules/swiper
npm ERR!   swiper@"^6.3.5" 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@"^4.1.1" 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 /Users/cos800/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/cos800/.npm/_logs/2022-02-23T06_22_12_511Z-debug-0.log
@jyb911
Copy link

jyb911 commented Jul 14, 2022

尝试了npm install --force和npm install ----legacy-peer-deps均报错,检索报错原因最后确定是node版本过高,使用nvm切换node版本到14.18.3,npm i安装成功

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants