mdx-js does not work with Docusaurus 2.4
mrousavy opened this issue · comments
Marc Rousavy commented
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
2.3.0
Link to runnable example
No response
Steps to reproduce
I use TypeDoc + Docususaurus to generate my docs. Here's the PR where I tried to upgrade (everything is in the docs/
folder) mrousavy/react-native-vision-camera#1783
Expected behavior
It should build
Actual behavior
It does not build:
[ERROR] Docusaurus server-side rendering could not render static page with path /docs/api/.
[ERROR] Docusaurus server-side rendering could not render static page with path /docs/api/classes/Camera.
[ERROR] Docusaurus server-side rendering could not render static page with path /docs/api/classes/CameraCaptureError.
[ERROR] Docusaurus server-side rendering could not render static page with path /docs/api/classes/CameraRuntimeError.
[ERROR] Docusaurus server-side rendering could not render static page with path /docs/api/interfaces/CameraDevice.
I'll try to rebuild with the verbose parameter to get the full error in a second, am on the airport rn
Runtime
Node v16
Package manager
yarn v3
OS
macOS
Build and bundle tools
Docusaurus
Christian Murphy commented
For help upgrading Docusaurus to MDX 2 reach out at facebook/docusaurus#9053
As Sébastien mentions at mrousavy/react-native-vision-camera#1783 (comment) you need to be on Docusaurus 3.