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

[svelte@5.0.0-next.121] Menubar Trigger is broken: Cannot destructure property 'builders' of 'getCtx$c(...)' as it is undefined. #532

Closed
pheuter opened this issue May 2, 2024 · 2 comments

Comments

@pheuter
Copy link

pheuter commented May 2, 2024

Describe the bug

The Menubar component (and possibly others as well, though I haven't tested them all) no longer works on the latest version of svelte 5 (5.0.0-next.121), throwing the following error:

Cannot destructure property 'builders' of 'getCtx$c(...)' as it is undefined.

Reproduction

https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAE2WOwWrDQAxEf0Xo7NaH3BzHUHoOgVJyyfbgxFojsLWLVm4oxv9eHIeEJOgg6TEzzIieO0pYHEaUuics8CNGzND-4vykX-qMMMMUBj3NpEwn5WiVE2fcx6AGI2xJhmOtMIHX0IPDI1t6G9jh2kmZ3y1SXqXvXyEsITcy78oJAMCNfSu3LelFOM-e6bzcZf6qebB-BjESg7rjVjYOk9VqDiFxQzvvE9lmXE3Vc9rVtlTLn7rdwaU-ZtiHhj1Tg4XpQNPP9A9_5B5kUgEAAA==

Logs

No response

System Info

Latest version of svelte 5, see repro repl above.

Severity

blocking upgrade

@AdrianGonz97
Copy link
Collaborator

This appears to be a dev time only issue. Building the project for production doesn't cause any errors and everything seems to be working as expected.

Given that this appears to be an issue directly with Svelte 5, there's not much we can do ourselves. For now, I've posted a reproduction in the Svelte 5 thread for libraries here: sveltejs/svelte#10359

@pheuter
Copy link
Author

pheuter commented May 3, 2024

This was fixed in 5.0.0-next.123

@pheuter pheuter closed this as completed May 3, 2024
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

2 participants