Skip to content

nextra held at exact 4.6.0 until shuding/nextra #5034/#5036 ship a fix #83

Description

@dickhardt

nextra and nextra-theme-docs are pinned exact 4.6.0 (was ^4.6.0) on chore/deps-latest so npm install cannot drift onto 4.6.1.

4.6.1 moved to zod 4 stable. nextra-theme-docs's Layout destructures children out of props before LayoutPropsSchema.safeParse(themeConfig), while the schema still declares children: reactNode as required. Every page that goes through lib/nextra-layout.js fails prerender with Invalid input: expected nonoptional, received undefined → at children. Bisected: next 16.3.4 with nextra 4.6.0 builds; nextra 4.6.1 alone breaks it.

Upstream: shuding/nextra#5034 (closed without a release), #5036 and #5008 (open). No 4.6.2 exists; the next line is 5.0.0-alpha.24. Re-check when 4.6.2 or 5.0 ships and restore the caret.

Remaining npm audit item: @xmldom/xmldom 0.9.x (high) via speech-rule-enginemathjaxnextra. Build-time only; nothing from it reaches the static export.

Found during the Node 24 / dependency upgrade, 2026-09-06 (see chore/deps-prune branch)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreupdating grunt tasks etc; no production code change

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions