React Peer Dependency Issue with gatsby-plugin-mdx #38928
Labels
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
I see bug reports that have been converted to discussions saying that running
npm install --legacy-peer-deps
is the solution for this issue.If that is, indeed, the official response and solution for these issues, please update the documentation to say that using
gatsby-plugin-mdx
requires the use of legacy-peer-deps.Honestly, I'm surprised this isn't considered an actual bug to fix. The default behavior to install apps is running
npm install
. Using the --legacy-peer-deps option should not be considered the official solution.Reproduction Link
https://github.com/gatsbyjs/gatsby
Steps to Reproduce
gatsby new
Add Markdown and MDX support
npm install
...
(note: I chose typescript when prompted, not sure if that matters)
Expected Result
npm install runs with no errors.
Actual Result
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: