Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Default _error.svelte page doesn't compile #817

Closed
Panya opened this issue Jul 23, 2019 · 1 comment
Closed

Default _error.svelte page doesn't compile #817

Panya opened this issue Jul 23, 2019 · 1 comment
Labels

Comments

@Panya
Copy link
Contributor

Panya commented Jul 23, 2019

Describe the bug
If we create a Sapper project and don't create _error.svelte file inside src/routes directory, Sapper will use internal src/node_modules/@sapper/internal/error.svelte page instead. This page is a syntactically invalid Svelte component.

Logs

'error' is not defined. Consider adding a <script> block with 'export let error' to declare a prop
'status' is not defined. Consider adding a <script> block with 'export let status' to declare a prop
Panya added a commit to Panya/sapper that referenced this issue Jul 23, 2019
@Conduitry Conduitry added the bug label Jul 28, 2019
@Conduitry
Copy link
Member

0.27.5 includes your fix. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants