-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Labels
Description
Hi All 👋 Thank you for the neat tool you developed 😎 I just updated my project to React 19, and the build-docs script seems to have a problem with that.
Describe the bug
build-docs fails with React 19.
To Reproduce
Steps to reproduce the behavior:
- I'm not using a config file
- Doesn't seem to be relevant
node_modules/.bin/redocly build-docs your-openapi-schema.yamlError: Objects are not valid as a React child (found: object with keys {$$typeof, type, key, props, _owner, _store}). If you meant to render a collection of children, use an array instead.
Expected behavior
Script should run without errors.
Logs
❯ node_modules/.bin/redocly build-docs schema.yaml
Found undefined and using theme.openapi options
Prerendering docs
Error: Objects are not valid as a React child (found: object with keys {$$typeof, type, key, props, _owner, _store}). If you meant to render a collection of children, use an array instead.OpenAPI description
Redocly Version(s)
❯ node_modules/.bin/redocly --version
1.26.0Node.js Version(s)
❯ node --version
v20.13.1OS, environment
macOS 15.1.1 (24B91)
Additional context
rsshilli, tomhanoldt, ctataryn and MaxDribinskyKodiak