-
Notifications
You must be signed in to change notification settings - Fork 75
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
Peer dependency issue: The requested module 'astring' is expected to be of type CommonJS ... #15
Comments
Confirming that it must be linked to Node v14.x Just switched to Node v12.x and the issue does not occur |
It's happening to me too, even with node 12
|
I had the same issue on Node |
I'm afraid there's nothing we can do about this, so I'm going to close it. |
kentcdodds
added a commit
to kentcdodds/xdm
that referenced
this issue
Apr 8, 2021
Closed
kentcdodds
added a commit
to kentcdodds/xdm
that referenced
this issue
Apr 8, 2021
Closed
The fix is in xdm and I've opened some PRs for it. Re-opening |
Try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mdx-bundler
version: 3.1.2node
version: 14.12.0npm
version: 7.5.4Hi 👋 I just gave this a try on my NextJS based site and ended up with the following error when trying to run the build or a specific MDX based page in development mode.
Pretty sure it's not directly related to mdx-bundler itself so if that's the case feel free to close the issue. I assume this might be related to my version of node, so maybe it will be a blocker for other people and would require to add a set of compatible Node versions in the README of this project
Relevant code or config. Here's an excerpt of my mdx bundling related code:
What you did:
Tried to bundle some MDX file on my current NextJS setup and ended up with the error above.
This also happens when trying out the example
What happened:
The error above prevents me from rendering the page
Reproduction repository: https://github.com/MaximeHeckel/blog.maximeheckel.com/tree/next-mdx-bundler
Pushed a branch of my project with the current setup:
yarn
yarn dev
The text was updated successfully, but these errors were encountered: