-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
migrate
fails on $$Props
#13178
Comments
This is a tough one to fix. The problem is that the analysis phase errors on |
Hmm, doesn't look like the fix worked. Running |
@benmccann i just tried locally and the only error i got is this Which unfortunately should be |
Yeah, I see a bunch of errors like:
I see it says you have a dirty working dir. You didn't happen to have those previously migrated or anything? It'd be nice to have |
Nope it was dirty because I've installed with pnpm and created the lock file. can you share a component where you have this error? You can even copy paste that into the repl and try migrate there |
wtf. now it worked after trying like 5 times 15 minutes ago. must be some weird npx caching |
Describe the bug
The migration tool fails to migrate
$$Props
, which I didn't know existed until I tried to run it on some real-world projects and it bombed out upon encountering it 😆A description of
$$Props
is here: https://www.reddit.com/r/sveltejs/comments/1778zq4/interface_props_mentioned_in_the_svelte_5_post/migrate
lives in this repo:svelte/packages/svelte/src/compiler/migrate/index.js
Line 24 in 4f10c83
Reproduction
https://github.com/immich-app/immich/blob/8cf33690b8ddd8e36bdf5d968c3d5700bfcc2949/web/src/lib/components/shared-components/password-field.svelte#L7
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: