VuePress 2.0.0-beta 50 has a breaking change where it is now only using ES modules. This is causing the following error:
Error [ERR_REQUIRE_ESM]: require() of ES Module ...node_modules/@vuepress/utils/dist/index.js from .../node_modules/vuepress-plugin-mermaidjs2/src/index.js not supported
VuePress 2.0.0-beta 50 has a breaking change where it is now only using ES modules. This is causing the following error:
Error [ERR_REQUIRE_ESM]: require() of ES Module ...node_modules/@vuepress/utils/dist/index.js from .../node_modules/vuepress-plugin-mermaidjs2/src/index.js not supported