-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Closed
Copy link
Labels
Description
From svelte@5.0.0-next.265 I'm getting an error with svelte-flatpickr. Works with 264.
Uncaught TypeError: Cannot read properties of undefined (reading 'destroy')
at svelte-flatpickr.js?v=4fcee8e0:2439:11
at chunk-W6O5AMDL.js?v=4fcee8e0:2434:11
at execute_effect_teardown (chunk-4UFHU26X.js?v=4fcee8e0:2042:17)
at destroy_effect (chunk-4UFHU26X.js?v=4fcee8e0:2073:3)
at destroy_effect_children (chunk-4UFHU26X.js?v=4fcee8e0:774:5)
at destroy_effect (chunk-4UFHU26X.js?v=4fcee8e0:2064:3)
at destroy_effect_children (chunk-4UFHU26X.js?v=4fcee8e0:774:5)
at destroy_effect (chunk-4UFHU26X.js?v=4fcee8e0:2064:3)
at destroy_effect_children (chunk-4UFHU26X.js?v=4fcee8e0:774:5)
at destroy_effect (chunk-4UFHU26X.js?v=4fcee8e0:2064:3)
Show 62 more frameshere:
Reproduction
I'm able to reproduce the issue this way only:
-
Wait to it to be loaded
-
Open the browser's console
-
Comment out the first line (the CSS import)
-
See in the browser's console the error
This is the only way to reproduce the error on a SvelteKit / Svelte 5 project I'm currently working on (the error shos up when I navigate pages)
Severity
blocking an upgrade
