Skip to content

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

Closed Answered by remcohaszing
plastic-shurikens asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ChristianMurphy
Comment options

@plastic-shurikens
Comment options

@ChristianMurphy
Comment options

@plastic-shurikens
Comment options

@ChristianMurphy
Comment options

Answer selected by plastic-shurikens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants