You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this also applies for .pnpmfile.cjs. @zkochan can you confirm this is the case? I find when running an install that I'll fail the strict peer check if I add a new dependency, but the follow up install is fine and my lockfile is generated fine.
Verify latest release
pnpm version
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
package.json
:.npmrc
:Then install:
However if I don't use
pnpm.overrides
and inline the override it works fine:Describe the Bug
When using
strict-peer-deps=true
withpnpm.overrides
peer deps fails even though when i inline the override it works fine.I expected that these two ways of doing overrides would be equivalents, though feel free to correct me if I'm wrong and I'll close the ticket 😄
Expected Behavior
I should be able to successfully install when using
pnpm.overrides
in the same way as inlining the override.Which Node.js version are you using?
20.11
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Fedora 38
The text was updated successfully, but these errors were encountered: