Components failed to get imported in build time Nextjs v13 (Expected component ...
to be defined: you likely forgot to import, pass, or provide it.)
#2436
-
Beta Was this translation helpful? Give feedback.
Answered by
remcohaszing
Feb 5, 2024
Replies: 1 comment 6 replies
-
This looks like a problem with your MDX content. You either forgot to provide a component, or possibly you made a typo using it. We can’t provide any help without the MDX content. As a side not, in Next.js I recommend using an |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
plastic-shurikens
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks like a problem with your MDX content. You either forgot to provide a component, or possibly you made a typo using it. We can’t provide any help without the MDX content.
As a side not, in Next.js I recommend using an
mdx-components.jsx
file instead of@mdx-js/react
. But before you do, you should probably solve your original problem first.