Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gatsby-plugin-mdx): mkdirp needs to be listed as a direct depende… #33724

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

TommasoAmici
Copy link
Contributor

Description

The gatsby-node.js script of gatsby-plugin-mdx imports mkdirp,
thus it needs to be listed as a dependency to prevent this error with yarn2

Error: gatsby-plugin-mdx tried to access mkdirp (a peer dependency)
but it isn't provided by your application; this makes the require call
ambiguous and unsound.

Related Issues

Fixes #33632

…ncy (gatsbyjs#33632)

The `gatsby-node.js` script of `gatsby-plugin-mdx` imports `mkdirp`,
thus it needs to be listed as a dependency to prevent this error with yarn2

```
Error: gatsby-plugin-mdx tried to access mkdirp (a peer dependency)
but it isn't provided by your application; this makes the require call
ambiguous and unsound.
```
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Oct 28, 2021
@LekoArts LekoArts added topic: remark/mdx Related to Markdown, remark & MDX ecosystem and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Oct 29, 2021
Copy link
Contributor

@LekoArts LekoArts left a comment

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: remark/mdx Related to Markdown, remark & MDX ecosystem
Projects
None yet
2 participants