Website not working for active sessions after each Vercel deployment #12104
Unanswered
testvinder
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi Mads, could you share a minimal reproduction? You're not alone in this issue and it would be a big help if you shared more information so that we can diagnose the root cause of this. Related to #9089 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using latest versions of Sveltekit and the Vercel adapter.
"@sveltejs/adapter-vercel": "5.2.0",
"@sveltejs/kit": "2.5.5",
"svelte": "4.2.12"
Every time I deploy a new version to prod in Vercel the website stops working for active sessions. The browser attempts to load old modules. If I open the website in incognito or in a different browser the problem is not there.
The error shown in the browser console is "Uncaught (in promise) TypeError: error loading dynamically imported module: " In the Vercel logs I can also see 404s for various js files such as "/_app/immutable/chunks/store.CLkuf-ir.js".
I'm not using Cloudflare or any other caching layer. I have Skew Protection enabled.
Have anyone faced a similar issue or now what might be causing it?
Beta Was this translation helpful? Give feedback.
All reactions