Skip to content

Fix CI (chunk rendering) #126

@pdaengeli

Description

@pdaengeli

This led to the build failing:

CV150 added in e62aa32

This uses <span data-type="title">` as suggested by @vvvyyynet above.

We'll need to check the effects in the frontend and make sure it works as intended for CV150 but also for previously existing titles.

Originally posted by @pdaengeli in #69

Generated an empty chunk: "entries/pages/edition/_vol_/einleitung/_page.server.ts".
rendering chunks...

node:internal/event_target:1122
  process.nextTick(() => { throw err; });
                           ^
TypeError: Cannot read properties of undefined (reading 'text')
    at file:///home/runner/work/ACO/ACO/.svelte-kit/output/server/entries/pages/edition/_vol_/_layout.server.ts.js:43:48
    at ModuleJob.run (node:internal/modules/esm/module_job:413:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:660:26)
    at async get_page_options (file:///home/runner/work/ACO/ACO/node_modules/@sveltejs/kit/src/exports/vite/static_analysis/index.js:243:19)
    at async build_server_nodes (file:///home/runner/work/ACO/ACO/node_modules/@sveltejs/kit/src/exports/vite/build/build_server.js:98:25)
    at async analyse (file:///home/runner/work/ACO/ACO/node_modules/@sveltejs/kit/src/core/postbuild/analyse.js:72:2)
    at async MessagePort.<anonymous> (file:///home/runner/work/ACO/ACO/node_modules/@sveltejs/kit/src/utils/fork.js:23:16)

Node.js v24.12.0
Error: Process completed with exit code 1.
0s

https://github.com/DHBern/ACO/actions/runs/20445856041/job/58749012853

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions