Element type is invalid since Migrated from V3 to V5 #37181
Unanswered
MrDesjardins
asked this question in
Help
Replies: 1 comment 3 replies
-
Use the children prop described in this official migration tutorial. I have the same problem, the but got: undefined error will gone when you comment out MDXRenderer, i think gatsby-plugin-mdx does not export this component anymore in version 5. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Preliminary Checks
Description
I am migrating from Gatsby version 3 to 5 and I have one a single of my page a runtime error
BlogArticle
is very simple (and was working in version 3):I tried to move the
export default
at the function that renders the BlogPost and rename the function to match the file name. In either case, it keeps having the same runtime issue.Reproduction Link
I do not
Steps to Reproduce
Expected Result
I expect the blog post to render
Actual Result
I have a GatsbyJS error pagehave
Environment
Config Flags
No
Beta Was this translation helpful? Give feedback.
All reactions