You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
If the root index.html file (routes/index.html) has some async data in its preload method (returning a promise or using async/await), the page won't reload after getting an error from this.error, the error layout is still showing up.
I'm getting 3 errors in the browser console when trying going back to / route :
TypeError: "each_value is undefined"
TypeError: this.proxyTarget is undefined (x2)
To reproduce, you can copy the routes/blog/index.html from sapper template to routes/index.html, get an error navigating to an invalid route and trying to go back on home from navigation. I did that on that repo : https://github.com/antoineneff/sapper-error-repro
Feel free to ask if you need further information.
The text was updated successfully, but these errors were encountered:
antoineneff
changed the title
No async data after getting error on root index.html
No async data on root index.html after getting error
Sep 25, 2018
If the root index.html file (
routes/index.html
) has some async data in its preload method (returning a promise or using async/await), the page won't reload after getting an error fromthis.error
, the error layout is still showing up.I'm getting 3 errors in the browser console when trying going back to
/
route :To reproduce, you can copy the
routes/blog/index.html
from sapper template toroutes/index.html
, get an error navigating to an invalid route and trying to go back on home from navigation. I did that on that repo : https://github.com/antoineneff/sapper-error-reproFeel free to ask if you need further information.
The text was updated successfully, but these errors were encountered: