Skip to content

Conversation

@TrevorBurnham
Copy link
Contributor

@TrevorBurnham TrevorBurnham commented Oct 1, 2025

This branch was created by throwing Claude Sonnet 4.5 at #8059, a bug where ERESOLVE is thrown because of a (nonexistent) conflict between peer dependencies. I don't think Claude's fix is the right approach, but I'm hoping it'll give the maintainers some ideas. At the very least, the test case should be useful for further work.

The approach here is to modify checkCanPlaceCurrent to see if the current dep is changed in package.json; if so, the dep change is treated the same way as an explicit request. That strikes me as an improvement, but not a comprehensive solution, since I've seen incorrect ERESOLVE errors in other situations.

References

Related to #8059

@wraithgar
Copy link
Member

#8647 (comment)

@wraithgar wraithgar closed this Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants