prismicio / prismic-gatsby

Gatsby plugins for building websites using Prismic
https://prismic.io/docs/technologies/gatsby
Apache License 2.0
313 stars 97 forks source link

TypeError: A dynamic import callback was not specified. (value) #521

Closed leomitimiti closed 1 year ago

leomitimiti commented 1 year ago

Versions

Additional Details
Gatsby displays the error: TypeError: A dynamic import callback was not specified. (value) and the application does not run

Steps to reproduce

What is expected?

What is actually happening?

image

leoperez commented 1 year ago

@angeloashmore how could be this resolved?

angeloashmore commented 1 year ago

@leomitimiti @leoperez Are you able to share a reproduction of this error? This isn't something I've seen before, and it seems to be directly from Node, not Gatsby's code.

Could you also share your package.json? Thanks!

pvpg commented 1 year ago

@leomitimiti I got the same err and solved it by updating react and react-dom to the latest version

angeloashmore commented 1 year ago

This issue is stale and may be fixed in a recent version. Please update to the latest version and try again. If the issue continues to be a problem, please open a new issue. Thank you!

See the documentation for guides on updating to the latest versions: Gatsby + Prismic Migration Guides