Error: [ERR_REQUIRE_ESM]: require() of ES Module /my-garden/node_modules/@mdx-js/mdx/index.js from /my-garden/node_modules/gatsby-plugin-mdx/utils/mdx.js not supported.
Instead change the require of index.js in /my-garden/node_modules/gatsby-plugin-mdx/utils/mdx.js to a dynamic import() which is avail able in all CommonJS modules.
Running
I get the error:
Error: [ERR_REQUIRE_ESM]: require() of ES Module/my-garden/node_modules/@mdx-js/mdx/index.js from /my-garden/node_modules/gatsby-plugin-mdx/utils/mdx.js not supported.
Instead change the require of index.js in /my-garden/node_modules/gatsby-plugin-mdx/utils/mdx.js to a dynamic import() which is avail able in all CommonJS modules.