Open ddfridley opened 5 months ago
When using the latest version of react-markdown, we are unable to run on the server side, it throws an error saying the ESM modules are require.
ESM modules in node seem to be the way of the future, so we should figure out how to build this repo this way.
To duplicate the problem:
$ npm install react-markdown@8.0.6 $ npm run dev
David, I tried this react-markdown@8.0.6 version, I got my server running normally. Here is the screenshot
When using the latest version of react-markdown, we are unable to run on the server side, it throws an error saying the ESM modules are require.
ESM modules in node seem to be the way of the future, so we should figure out how to build this repo this way.
To duplicate the problem: