You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.0
Node.js Version(s)
❯ node --version
v20.13.1
OS, environment
macOS 15.1.1 (24B91)
Additional context
The text was updated successfully, but these errors were encountered:
I'm having this problem and I don't have React declared at all. I see now the Redocly is pulling in the latest React and that's why I'm seeing this error.
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:
node_modules/.bin/redocly build-docs your-openapi-schema.yaml
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.
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.js
Version(s)OS, environment
macOS 15.1.1 (24B91)
Additional context
The text was updated successfully, but these errors were encountered: