[BUG] installing a package with incompatible peer dependencies and --force
sometimes results in an inf. loop
#7349
Labels
--force
sometimes results in an inf. loop
#7349
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
On testing-library/eslint-plugin-jest-dom@18afe30 doing
npm i eslint@9 --force
results in an inf. loop outputting:Related PR: testing-library/eslint-plugin-jest-dom#355
Expected Behavior
The install to complete fine, since I've
--force
'd itSteps To Reproduce
npm i eslint@9 --force
(also see https://github.com/testing-library/eslint-plugin-jest-dom/actions/runs/8586049626/job/23528114426?pr=355)
Environment
; copy and paste output from `npm config ls` here
The text was updated successfully, but these errors were encountered: