Website not working for active sessions after each Vercel deployment #12104
-
|
I'm using latest versions of Sveltekit and the Vercel adapter. 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.
Replies: 1 comment 2 replies
-
|
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.
Hi Tee,
Unfortunately, it's difficult to reproduce as the error only happens in production and only for users with an active session during deployment.
However, the issue seems to have disappeared now after disabling Skew Protection.