Skip to content

SvelteKit swallows parse errors #8799

@benmccann

Description

@benmccann

Describe the bug

If vite-plugin-svelte throws a ParseError it gets swallowed by SvelteKit making it impossible to figure out what's wrong in many cases

Reproduction

Put this in +page.svelte

<script>
</script>

<script>
</script>

Logs

No response

System Info

`latest`

Severity

serious, but I can work around it

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingerror handlingp1-importantSvelteKit cannot be used by a large number of people, basic functionality is missing, etc.ready to implementplease submit PRs for these issues!

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions