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
In a production deployment on Vercel, I'm getting logs from my handleError function in hooks.server.ts saying that some routes in the .vercel/output/static/_app/immutable/assets/ are not found, even though they are in the folder. This also only happens on a couple of requests every few hours (on a small-medium site).
My setup is:
@sveltejs/kit - 1.0.0-next.504
@sveltejs/adapter-vercel - next
My handleError function is very basic and just logs the error.
Here is an example of a route that is not found:
Not found: /_app/immutable/assets/_layout-ff3a027e.css
Here are some screenshots showing the file exists:
The requests are also not coming from bots and are indeed real user agents.
I don't know if this is a bug or something else. Does anyone have an idea of what might be happening?
Reproduction
New svelte kit project with vercel adapter, push to vercel.
Does this still happen with the latest version of the Vercel adapter and SvelteKit? Is this maybe related to you deploying a new version and existing browser connections which are still on an old version try to load no-longer-available assets? Also see https://kit.svelte.dev/docs/configuration#version
Describe the bug
In a production deployment on Vercel, I'm getting logs from my handleError function in hooks.server.ts saying that some routes in the .vercel/output/static/_app/immutable/assets/ are not found, even though they are in the folder. This also only happens on a couple of requests every few hours (on a small-medium site).
My setup is:
@sveltejs/kit - 1.0.0-next.504
@sveltejs/adapter-vercel - next
My handleError function is very basic and just logs the error.
Here is an example of a route that is not found:
Not found: /_app/immutable/assets/_layout-ff3a027e.css
Here are some screenshots showing the file exists:
The requests are also not coming from bots and are indeed real user agents.
I don't know if this is a bug or something else. Does anyone have an idea of what might be happening?
Reproduction
New svelte kit project with vercel adapter, push to vercel.
Logs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: