Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite error when loading modules replaced by a redeployment #707

Closed
sentry-io bot opened this issue Sep 24, 2024 · 3 comments
Closed

Vite error when loading modules replaced by a redeployment #707

sentry-io bot opened this issue Sep 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 24, 2024

This issue has discussion and some possible solutions. Handling and reporting the error by listening for vite:preloadError events seems like a valid approach: https://vitejs.dev/guide/build#load-error-handling

Sentry Issue: DOCUMENTCLOUD-FRONTEND-NEXT-B

TypeError: error loading dynamically imported module: https://next.www.documentcloud.org/_app/immutable/nodes/4.DPcAB5H6.js
@sentry-io sentry-io bot added the bug Something isn't working label Sep 24, 2024
Copy link
Author

sentry-io bot commented Sep 24, 2024

Sentry Issue: DOCUMENTCLOUD-FRONTEND-NEXT-C

@eyeseast eyeseast added this to the SvelteKit milestone Sep 25, 2024
Copy link
Author

sentry-io bot commented Sep 25, 2024

Sentry Issue: DOCUMENTCLOUD-FRONTEND-NEXT-D

@eyeseast
Copy link
Contributor

Do this alongside #548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants