Uncaught (in promise) TypeError: Failed to fetch dynamically imported module
got this error in browser console after a reployment on docker with srvx.

6 Replies
manual-pinkOP•2w ago
i found this https://github.com/vitejs/vite/pull/20313/files#diff-591755fcd41dbf3ede4a850f0598f6a1c479db1e22ff5d62a4f1b76574559d81R171
it says:
If you are using a framework, refer to their documentation first as it may have a built-in solution for this problem.related: https://discord.com/channels/719702312431386674/1193996845144359114 https://discord.com/channels/719702312431386674/1007702008448426065/1105491200921841694 https://discord.com/channels/719702312431386674/1007702008448426065/1347600587012833402 https://discord.com/channels/719702312431386674/1333557517254398065/1333557517254398065 https://discord.com/channels/719702312431386674/720768118963699783/1418561747584811102 https://github.com/TanStack/router/issues/4410
flat-fuchsia•2w ago
how do you start srvx ?
manual-pinkOP•2w ago
flat-fuchsia•2w ago
is the assets folder in the client folder?
does it work locally?
manual-pinkOP•2w ago
ah. it works locally and remotely. it does not work remotely after a new deployment on the server. i think it's the stale asset versions issue.
as pointed out in several links i attached above
flat-fuchsia•2w ago
yes thats why Netlify, vercel etc have skew protection