mdx-js / mdx

Markdown for the component era

Home Page:https://mdxjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mdx-js does not work with Docusaurus 2.4

mrousavy opened this issue · comments

Initial checklist

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

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.