-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error using @mdx-js/react version 2 with @next/mdx #1927
Comments
@aserputov could you share a runnable example of what you are seeing? It also sounds like you may have used a previous release? |
@aserputov screenshots of the logs aren't a runnable example, nor does it give details needed to replicate the issue. |
I will upload it into sandbox. |
@ChristianMurphy https://codesandbox.io/s/silly-frost-ql563 |
@aserputov did you copy the link you intended to? That is the original un-modified sandbox link, and it is working without warning or error logs. |
@ChristianMurphy sorry, I updated it . |
I'm not sure how this helps? |
Looking at https://github.com/Seneca-CDOT/telescope/blob/9cfc73ab1a52b47fd8c0261ddca4b68aa1f9df6c/src/web/next.config.js#L12-L14 |
Yes. Thanks. |
Given that Check to make sure on the branch that is erroring, that all the If the issue persists check with the next team,
|
Initial checklist
Affected packages and versions
mdx-js/react
Link to runnable example
No response
Steps to reproduce
There are no steps to reproduce.
Expected behavior
I'm trying to use your package from the last release. Something broken.
Actual behavior
#12 23.53 ./src/pages/about.mdx
#12 23.53 Attempted import error: 'mdx' is not exported from '@mdx-js/react' (imported as 'mdx').
#12 23.53
#12 23.53 info - Collecting page data...
#12 25.75 info - Generating static pages (0/8)
#12 25.77
#12 25.77 Error occurred prerendering page "/error". Read more: https://nextjs.org/docs/messages/prerender-error
#12 25.77 TypeError [ERR_INVALID_URL]: Invalid URL
Runtime
No response
Package manager
pnpm
OS
macOS
Build and bundle tools
Next.js
The text was updated successfully, but these errors were encountered: