Unable to resolve dependency tree vue 3.x
See original GitHub issueDescribe the bug
I am unable to install the prerelease
version of this component in my Vue 3 project because the peerDependencies
for vue
is locked to 3.0.0-rc.6
.
Reproducible test case
- create a new folder,
npm init
npm i vue@next
npm i @fortawesome/vue-fontawesome@prerelease
Error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: test@1.0.0
npm ERR! Found: vue@3.0.4
npm ERR! node_modules/vue
npm ERR! vue@"^3.0.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"3.0.0-rc.6" from @fortawesome/vue-fontawesome@3.0.0-2
npm ERR! node_modules/@fortawesome/vue-fontawesome
npm ERR! @fortawesome/vue-fontawesome@"3.0.0-2" 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.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Unable to resolve dependency tree error when installing npm ...
Show activity on this post. Try two options to resolve this issue: Option 1: Delete folder node_modules folder and file package_lock.json after ...
Read more >Unable to resolve dependency tree error in Angular while ...
It's a dependency conflict (incorrect and potentially broken dependency) error, so run the command with --force or --legacy-peer-deps flag.
Read more >How to Fix npm ERR ERESOLVE Unable to Resolve ...
Command:- npm config set legacy-peer-deps trueIn This Video We Will See How to Fix npm ERR ERESOLVE Unable to Resolve Dependency Tree ......
Read more >Unable to resolve dependency tree error when ... - YouTube
Join this channel to get access to perks:https://www.youtube.com/channel/UCoSpmr2KNOxjwE_B9ynUmig/joinMy GearCamera ...
Read more >(Solved) ERESOLVE unable to resolve dependency tree while ...
Solution · 1. Remove node_modules and package-lock.json and then run · 2. Or try clearing out npm cache · 3. Or run command...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve just released 3.0.0-3 of vue-fontawesome. Can you all give this a try again? I’ve updated the dependency to be
vue: '3.x'
.Yes, works for me. Thank you!