facebook / docusaurus

Easy to maintain open source documentation websites.
https://docusaurus.io
MIT License
56.72k stars 8.54k forks source link

can't build using react-embed #8396

Closed sibelius closed 1 year ago

sibelius commented 1 year ago

Have you read the Contributing Guidelines on issues?

Prerequisites

Description

When trying to build my docusuarus website it breaks only on build

https://github.com/sibelius/zettelkasten/actions/runs/3578175316/jobs/6018027418

[ERROR] Docusaurus server-side rendering could not render static page with path /advice-for-developers.

related to https://github.com/streamich/react-embed/issues/892

Reproducible demo

https://github.com/sibelius/zettelkasten

Steps to reproduce

yarn yarn build

Expected behavior

it should build

Actual behavior

it breaks

[ERROR] Docusaurus server-side rendering could not render static page with path

Your environment

Self-service

sibelius commented 1 year ago

fixed here https://gist.github.com/sibelius/af24052edf88c3c824d0627d9248699a

slorber commented 1 year ago

yes that's the good workaround solution

You can also try this package otherwise: https://github.com/PaulieScanlon/mdx-embed