yarn
yarn copied to clipboard
Yarn is not able to handle circular latest dependencies
Do you want to request a feature or report a bug? Bug
What is the current behavior?
I have two packages "a" and "b". "a" depends on "b@latest" and "b" depends on "a@latest". Running yarn add a
or yarn add b
results in a infinite loop.
If the current behavior is a bug, please provide the steps to reproduce. Setup a private repository with two packages described as above.
What is the expected behavior? Packages are installed correctly
Please mention your node.js, yarn and operating system version. Node.js 10.6.0 Yarn 1.9.4 macOS 10.12.4
Up. Same experience here. @bluejay/collection
depends on @bluejay/utils
and vice versa. This issue has been brought to me by one of Bluejay's users as they are using yarn. We don't have such an issue with npm.
Reproduction: 'yarn add @bluejay/collection'
same problem here... I have a lot of internal dependencies that depends each other and I´m not able to install or upgrade my project
Oh gosh... 2k20 and we are still here... Congrats Facebook! :)
Hello from 2022, this is still a problem :upside_down_face: