Multiple instances of a pkg #3697
Unanswered
aruniverse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using yarn v3 in one of my monorepos. I'm running into an issue where only 1 person on my team is running into this react runtime error because there are multiple instances of react-dom in his install.
When we run
yarn info -A react-dom
I see there are 2 instances, but when looking through the yarn.lock file manually I only see 1 instance. We tried runningyarn dedupe react-dom
but that had no effect. Is there an issue with how peer deps are resolved? I know pnpm workpsaces has a very similar issue where multiple instances for peers get installed: https://pnpm.io/how-peers-are-resolvedBeta Was this translation helpful? Give feedback.
All reactions