question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to resolve dependency tree vue 3.x

See original GitHub issue

Describe 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:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
robmadolecommented, Dec 9, 2020

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'.

1reaction
Hornet-Wingcommented, Dec 10, 2020

Yes, works for me. Thank you!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found