T
TanStack2w ago
manual-pink

Uncaught (in promise) TypeError: Failed to fetch dynamically imported module

got this error in browser console after a reployment on docker with srvx.
No description
6 Replies
flat-fuchsia
flat-fuchsia2w ago
how do you start srvx ?
manual-pink
manual-pinkOP2w ago
pnpx srvx --prod -s ../client dist/server/server.js
pnpx srvx --prod -s ../client dist/server/server.js
flat-fuchsia
flat-fuchsia2w ago
is the assets folder in the client folder? does it work locally?
manual-pink
manual-pinkOP2w 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
flat-fuchsia2w ago
yes thats why Netlify, vercel etc have skew protection

Did you find this page helpful?