Skip to content

Conversation

@kaltepeter
Copy link
Contributor

Description

Clarify the upgrade react step when migrating from v4 to v5. The previous step for upgrading Gatsby first has similar documentation.

If I follow the guide on node 18 / npm 9 and run the upgrade react command (npm install react@latest react-dom@latest) before resolving all the other dependencies I get errors like the image below. It appears until the dependency resolution is complete by later steps --legacy-peer-deps is expected.

image

Running with --legacy-peer-deps results in success.

image

Documentation

Tests

Related Issues

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 16, 2023
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@pieh pieh removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 21, 2023
@pieh pieh merged commit 2e08202 into gatsbyjs:master Jul 21, 2023
@kaltepeter kaltepeter deleted the doc-v4-v5 branch July 24, 2023 12:48
This was referenced Sep 23, 2023
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