-
Notifications
You must be signed in to change notification settings - Fork 671
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
docs: Specify MDX version to install #2133
Comments
Yep, unfortunately this is a known issue, we just haven't figured out the resolution: #2023 We don't yet support MDX v2, which was recently released. The fix is to downgrade |
Can you please update the documentation in the ReadMe and on the website so that the info reflects installing mdx-js/react v1? This project is used in a popular, but older tutorial that's causing some headaches for newbies.
For yarn: |
@john20xdoe Please use |
@hasparus ooh, didn't realize there's an option for that. Thanks |
these feels like a bandaid fix. i use my current solution is throwing this into
|
Server Error
Error: require() of ES Module C:\Users\ARYAN\Desktop\itsaryan\node_modules\@mdx-js\react\index.js from C:\Users\ARYAN\Desktop\itsaryan\node_modules\@theme-ui\mdx\dist\theme-ui-mdx.cjs.dev.js not supported. Instead change the require of index.js in C:\Users\ARYAN\Desktop\itsaryan\node_modules\@theme-ui\mdx\dist\theme-ui-mdx.cjs.dev.js to a dynamic import() which is available in all CommonJS modules.
This error happened while generating the page. Any console logs will be displayed in the terminal window.
The text was updated successfully, but these errors were encountered: