Expected behavior
Running yarn site:develop should run pharos site successfully locally
Actual behavior
Locally, I am seeing blank page and console errors after running yarn site:develop. (More in Additional Information)
Steps to reproduce the issue
On develop branch, run yarn site:develop
Gatsby service with pharos site docs, should be running on http://localhost:8000
Visiting, http://localhost:8000 displaying blank page and having above mentioned console error (from Actual Behavior)
Screenshots or code
If applicable, add screenshots or code to help explain the issue.
Pharos versionpharos site: 5.13.4
Your environment
OS: MacOS
Browser: Chrome
Version: 117.0.5938.149
Additional information
After running yarn site:develop, I see blank page with below console error: Uncaught Error: ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ../../node_modules/gatsby-plugin-mdx/loaders/mdx-components.js.
Also, I see this warn message during build process: warn ../../node_modules/gatsby-plugin-mdx/wrap-root-element.js Attempted import error: 'plugins' is not exported from './loaders/mdx-components' (imported as 'mdxPlugins').
Expected behavior Running
yarn site:develop
should run pharos site successfully locallyActual behavior Locally, I am seeing blank page and console errors after running
yarn site:develop
. (More in Additional Information)Steps to reproduce the issue
develop
branch, runyarn site:develop
http://localhost:8000
http://localhost:8000
displaying blank page and having above mentioned console error (from Actual Behavior)Screenshots or code If applicable, add screenshots or code to help explain the issue.
Pharos version
pharos site
: 5.13.4Your environment
Additional information
After running
yarn site:develop
, I see blank page with below console error:Uncaught Error: ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ../../node_modules/gatsby-plugin-mdx/loaders/mdx-components.js
.Also, I see this
warn
message during build process:warn ../../node_modules/gatsby-plugin-mdx/wrap-root-element.js Attempted import error: 'plugins' is not exported from './loaders/mdx-components' (imported as 'mdxPlugins').