Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESM Gatsby v5 errors #60

Open
donaldboulton opened this issue Jan 31, 2023 · 0 comments
Open

ESM Gatsby v5 errors #60

donaldboulton opened this issue Jan 31, 2023 · 0 comments

Comments

@donaldboulton
Copy link

Error: [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\donbo\Documents\GitHub\bibwoe.com\node_modules@mdx-js\mdx\index
.js from C:\Users\donbo\Documents\GitHub\bibwoe.com\node_modules@component-controls\instrument\dist\index.js not supporte
d.
Instead change the require of C:\Users\donbo\Documents\GitHub\bibwoe.com\node_modules@mdx-js\mdx\index.js in C:\Users\don
bo\Documents\GitHub\bibwoe.com\node_modules@component-controls\instrument\dist\index.js to a dynamic import() which is av
ailable in all CommonJS modules.

  • index.js:7 Object.
    [bibwoe.com]/[@component-controls]/instrument/dist/index.js:7:11

  • index.js:14 Object.
    [bibwoe.com]/[@component-controls]/config/dist/index.js:14:18

  • index2.js:8 Object.
    [bibwoe.com]/[@component-controls]/webpack-compile/dist/index2.js:8:14

  • index.js:7 Object.
    [bibwoe.com]/[@component-controls]/webpack-compile/dist/index.js:7:13

  • webpack-build.js:13 Object.
    [bibwoe.com]/[@component-controls]/base-integration/dist/webpack-build.js:13:22

  • webpack-build.js:1 Object.
    [bibwoe.com]/[@component-controls]/base-integration/webpack-build.js:1:18

  • gatsby-node.js:8 Object.
    [bibwoe.com]/[@component-controls]/gatsby-theme-stories/dist/gatsby-node.js:8:20

  • gatsby-node.js:1 Object.
    [bibwoe.com]/[@component-controls]/gatsby-theme-stories/gatsby-node.js:1:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant