Skip to content

site: error while rendering error page #9344

@teemingc

Description

@teemingc

Houston, we have a problem

image

Some thoughts on this issue sveltejs/kit#10565 (comment)
The main cause is a rendering error in the root +layout.svelte while rendering the default error page.

{#if !$page.route.id.startsWith('/blog/')}

TypeError: Cannot read properties of null (reading 'startsWith')

but the error message being incorrect is a sveltekit issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions