-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething isn't workingSomething isn't workingerror handlingp1-importantSvelteKit cannot be used by a large number of people, basic functionality is missing, etc.SvelteKit cannot be used by a large number of people, basic functionality is missing, etc.
Milestone
Description
Describe the bug
A user reported that their project is failing when they run npm run build. I did some preliminary investigation and found that it's failing because it can't find the default error page in the manifest. If I delete src/routes/error.svelte from their project then the build passes. I guess Vite doesn't see the default error page being used or imported anywhere in this case
Reproduction
https://github.com/deozza/appquarium-admin-sveltekit
I made a fork which runs the latest SvelteKit and get the same issue: https://github.com/benmccann/appquarium-admin-sveltekit
Logs
build-server is generating the error:
> Cannot read property 'file' of undefinedSystem Info
latestSeverity
blocking all usage of SvelteKit
Additional Information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingerror handlingp1-importantSvelteKit cannot be used by a large number of people, basic functionality is missing, etc.SvelteKit cannot be used by a large number of people, basic functionality is missing, etc.