-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SvelteKit vite build infinitely hangs / process does not end #9096
Comments
Hey, just to clarify: If you remove the |
@PenguinShade In addition to Francesco's question, can you try switching the order of the |
I just tried it with a fresh instance of svelte kit and it worked, so it looks like it is something specific to my project. I'll do some digging and try to see what the problem is. |
thanks! lmk when you find the cause! |
After some investigation, I discovered that the problem was a mixture of Sentry and Firebase v9.23 in my dependencies, particularly this import line mixed with Sentry being installed caused the bug:
For whatever reason, having this version of Firebase, using firestore from it and having sentry installed causes the build process to infinitely hang. To Fix this I upgraded Firebase from It's interesting to note that using Firebase |
Thanks for letting us know anyway. Always good to be aware of it. |
Having the same problem now, build is stuck on |
Hi! I'm having the same problem sentry is conflicting with paraglide (a translation library that I'm going to remove soon) "@sentry/sveltekit": "^8.32.0", "@inlang/paraglide-js" : "1.11.2", I have tested all posible version combinations, and vite build keeps hanging in the my bitbucket pipeline, not in my local.... The build completes, but it hangs. I've seen that is a common issue with vite, but to me is been imposible to fix it. I am desperate to find the solution, does anyone know what it could be or at least how I can debug it to find the problem? |
@Mariscal6 , I'm having an issue with the paraglide/sentry couple; did you find a solution these will work together in the CI? |
@dror-weiss I've end up removing paraglide.. |
😭 |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/sveltekit
SDK Version
7.70.0
Framework Version
@sveltejs/kit 1.25.0
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
This is my
vite.config.ts
vite build
Before installing Sentry it would work fine. When the Sentry plugin is added to the vite plugins it will infinitely hang after completion. It seems like sentry fully complete everything, it just seems to never close the process, so I'm left with an unending process until manually cancelled.
Here are the vite build logs
Expected Result
I would expect the build process to end.
Actual Result
Build process does not end.
The text was updated successfully, but these errors were encountered: