Skip to content

Components referenced after running compiled code #2307

Closed Answered by wooorm
guilherme-marin asked this question in Q&A
Discussion options

You must be logged in to vote

You get an error due to a difference between development and production.
This is explained in our guide: https://mdxjs.com/guides/mdx-on-demand/#nextjs-example.
To solve the error you see, follow that guide, and explicitly set the development option passed to compile.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@guilherme-marin
Comment options

@wooorm
Comment options

@guilherme-marin
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by guilherme-marin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants