Skip to content

[Amber] Docs fail to build #1190

@Gkrumbach07

Description

@Gkrumbach07

Issue Description

our docs build fails here

15:16:04 [content] Syncing content
15:16:07 [content] Synced content
15:16:07 [types] Generated 3.06s
15:16:07 [build] output: "static"
15:16:07 [build] mode: "static"
15:16:07 [build] directory: /home/runner/work/platform/platform/docs/dist/
15:16:07 [build] Collecting build info...
15:16:07 [build] ✓ Completed in 3.21s.
15:16:07 [build] Building static entrypoints...
15:16:09 [vite] ✓ built in 1.76s
15:16:09 [build] ✓ Completed in 1.79s.

building client (vite)
15:16:09 [vite] transforming...
15:16:09 [vite] ✓ 18 modules transformed.
15:16:09 [vite] rendering chunks...
15:16:09 [vite] computing gzip size...
15:16:09 [vite] dist/_astro/ec.0vx5m.js 2.52 kB
15:16:09 [vite] dist/_astro/ec.v4551.css 18.22 kB │ gzip: 3.96 kB
15:16:09 [vite] dist/_astro/MobileTableOfContents.astro_astro_type_script_index_0_lang.C181hMzK.js 0.67 kB │ gzip: 0.40 kB
15:16:09 [vite] dist/_astro/TableOfContents.astro_astro_type_script_index_0_lang.CKWWgpjV.js 1.67 kB │ gzip: 0.86 kB
15:16:09 [vite] dist/_astro/page.B1D-nYk3.js 2.24 kB │ gzip: 1.01 kB
15:16:09 [vite] dist/_astro/Search.astro_astro_type_script_index_0_lang.DxpseBYr.js 2.72 kB │ gzip: 1.39 kB
15:16:09 [vite] dist/_astro/ui-core.DTicSXud.js 72.93 kB │ gzip: 22.86 kB
15:16:09 [vite] ✓ built in 236ms

generating static routes
15:16:09 ▶ @astrojs/starlight/routes/static/404.astro
Entry docs → 404 was not found.
Cannot read properties of undefined (reading '_zod')
Stack trace:
at inst._zod.parse (file:///home/runner/work/platform/platform/docs/node_modules/zod/v4/core/schemas.js:1398:46)
at eval (eval at compile (file:///home/runner/work/platform/platform/docs/node_modules/zod/v4/core/doc.js:33:16), :22:37)
at inst._zod.parse (file:///home/runner/work/platform/platform/docs/node_modules/zod/v4/core/schemas.js:922:23)
at inst._zod.parse (file:///home/runner/work/platform/platform/docs/node_modules/zod/v4/core/schemas.js:1680:43)
at inst.parse (file:///home/runner/work/platform/platform/docs/node_modules/zod/v4/classic/schemas.js:39:42)
15:16:09 └─ /404.html
Error: Process completed with exit code 1.

Files to Fix (optional)

No response

Fix Type

All of the above

Confirmation

  • I understand this will create an automated PR
  • The changes are low-risk and reversible
  • All tests should continue to pass after fixes

Metadata

Metadata

Assignees

No one assigned

    Labels

    ambient-code:auto-fixAmber agent: automated low-risk fixes (formatting, linting)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions