-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Build error / TypeError: [vite-plugin-svelte-module] Cannot read properties of undefined (reading 'some') #15284
Comments
Same here |
Adding me here to add some weight. My package for |
Same here, but on a SvelteKit project |
Please someone provide a proper reproduction so we can reproduce this. |
Created a repo to recreate the issue. https://github.com/imprest/serr |
@dummdidumm , could the unit tests for my project serve as repro?
|
Assignments to ![]() It occurs in 5.19.10 and 5.20.0, but with slightly different messages.
It may be due to this change. |
This was the result of a `@ts-expect-error` silencing other type errors, which lead to this creeping in. This changes it so that the object is fully set, so we'll get type errors when new properties need to be added fixes #15284
Hi @dummdidumm Same here on this project: tutors To reproduce on build:
This builds successfully, using svelte 5.19.3 - with some warnings. To produce build error,
Thanks in advance |
Describe the bug
I was trying to integrate svelte with phoenix liveview and initially there were no issues.
However after upgrading from [email protected] -> [email protected]. I get the below error when trying to build.
Downgrading to [email protected] successfully builds.
Reproduction
Logs
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: