Skip to content
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

From [email protected] an error with svelte-flatpickr. Works with 264. #78

Open
frederikhors opened this issue Oct 14, 2024 · 0 comments

Comments

@frederikhors
Copy link
Contributor

frederikhors commented Oct 14, 2024

From [email protected] 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 frames

here:

image

Reproduction

I'm able to reproduce the issue this way only:

  • Open this svelte-dev REPL project

  • 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)

I opened sveltejs/svelte#13605 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant