Can't create error page called $error.svelte
#810
Labels
documentation
Improvements or additions to documentation
$error.svelte
#810
Describe the bug
When I name my error page
$error.svelte
as described in the docs it throws an error from any page I visit.Logs
To Reproduce
error-page-name-bug
branch of our repo.http://localhost:3000/
).Expected behavior
Navigating to any page should bring up that page. This breaks the whole site.
Information about your SvelteKit Installation:
Browser: Chrome
Adapter: Netlify
Severity
Blocking an upgrade. I'm unsure how the routing works to be honest, but it doesn't seem like I should still be using the old Sapper naming convention for the error page and I'm worried it'll break in the future.
Additional context
For history, this repo was migrated from Sapper. For some reason, the error page
_error.svelte
still works. This issue only comes up when renaming it to match the Kit docs. Although_error.svelte
does work, I'm seeing issues #715 and #784 consistently.The text was updated successfully, but these errors were encountered: