Closed bonimart closed 1 year ago
:tada: Thanks for opening your first issue here! Welcome to the community!
Unfortunately, I didn't find out the culprit, creating a blank docusaurus project and copy-pasting most of our repo fixed the issue, therefore I'm closing the bug.
Hi @bonimart, i am facing this issue as well and copy-pasting doesn't seem to work for me
@bonimart I'd also like to know your versions
I'm also facing this issue with docusaurus@3.5.2 and openapi-docs 4.0.1. The error is only triggered when docusaurus-theme-openapi-docs
is added to themes
Describe the bug
I have tried both v1.7.3 and v2.0.0-beta.3. For the former, I downgraded to docusaurus 2.2.0. For the latter, I set the overrides for
react-live
instead of upgrading to React 18. For both versions, I managed to get the plugin working usingnpm run docusaurus start
, but I got some warnings when runningnpm run docusaurus build
, which result in the right tab of the API docs not working properly.Expected behavior
The build passes without warnings
Current behavior
The build passes, but generates a ton of warnings, which result in the plugin not working properly
The error message is (
{path-to-project}
is absolute path to the repo). I'm submitting the messages for both versions because there seems to be a similar problem.v1.7.3:
v2.0.0-beta.3:
Steps to reproduce
npm run docusaurus serve --build
or `npm run docusaurus buildScreenshots
after
npm run docusaurus start
:after
npm run docusaurus serve --build
:Your Environment
package.json (for v1.7.3)