Skip to content

2024-04 upgrade cli-hydrogen@8 peer dependency conflict #2073

Closed Answered by frandiox
dvnrsn asked this question in Help
Discussion options

You must be logged in to vote

This was fixed in our latest release, 2024.4.2. I think if you update using the h2 upgrade command it should work. You might need to change your package-lock.json to ensure there's only 1 version of React installed as well if the h2 upgrade command alone doesn't work. For that, you could try npm remove react react-dom && npm install react react-dom, that should get you the latest React which is compatible with latest Hydrogen dependencies.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jamalsoueidan
Comment options

@dvnrsn
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dvnrsn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants