-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Svelte 5 (alpha 62) nukes my SvelteKit app in DEV 💣 #10573
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
Comments
Which was the last version that worked? |
@trueadm alpha 61. Should've clarified but in the video I start with alpha 61 and it works. Upgrading to svelte@next moves to alpha 62 ... and breaks the app. |
@svelte-kit-so-good Can you try in a prod build? I'm wondering if this is related to #10464 |
I am seeing this exact same error on v62 in a SK2 app. Trying a prod build now. Edit: Running pnpm build & preview does work as expected. Only dev broken with the mismatch, filename error OP showed above. |
@stolinski yea I just checked ... it breaks with |
Just updated the video showing that alpha 62 works with prod but breaks in dev 👍 |
So we know where the error is — it's here: svelte/packages/svelte/src/internal/client/dev/ownership.js Lines 136 to 144 in d6e0fbd
What I don't understand yet is how we could wind up in that state, because |
sveltejs/kit#11878 Supposedly it's happening with a fresh SvelteKit project. |
Same error here, right after updating to next63 |
Describe the bug
Title says it all ... but here is a video
pnpm_dev_alpha62_nukes_app.mp4
Reproduction
See video attached
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: