We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cmdk-sv
[email protected]+
Seems that Svelte 5 compiled output of cmdk-sv is broken as of next.55 :(
next.55
Looks like the change that broke things was introduced here: sveltejs/svelte#10477
I ran into this and while researching noticed someone else had already posted an issue related to this in the svelte repo. Copying their output below:
Install [email protected]
[email protected]
Attempt to use simple cmdk-sv example:
<script lang="ts"> import { Command } from 'cmdk-sv'; </script> <Command.Root label="Command Menu"> <Command.Input /> <Command.List> <Command.Empty>No results found.</Command.Empty> <Command.Group heading="Letters"> <Command.Item>a</Command.Item> <Command.Item>b</Command.Item> <Command.Separator /> <Command.Item>c</Command.Item> </Command.Group> <Command.Item>Apple</Command.Item> </Command.List> </Command.Root>
✘ [ERROR] Invalid assignment target node_modules/.pnpm/[email protected][email protected]/node_modules/cmdk-sv/dist/cmdk/components/Command.svelte:82:30: 82 │ $.mutate_store(stateStore, $.untrack($stateStore).value() = ... ╵ ^ 9:12:20 PM [vite] error while updating dependencies: Error: Build failed with 1 error: node_modules/.pnpm/[email protected][email protected]/node_modules/cmdk-sv/dist/cmdk/components/Command.svelte:82:30: ERROR: Invalid assignment target at failureErrorWithLog (/home/httpswwwsveltelabdev-dcnb/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1641:15) at eval (/home/httpswwwsveltelabdev-dcnb/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1049:25) at eval (/home/httpswwwsveltelabdev-dcnb/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1517:9)
CC: @zhihengGet
The text was updated successfully, but these errors were encountered:
Related: #10359 - we can't officially support anything Svelte 5 until its stable.
Sorry, something went wrong.
Fyi, I don't know if something old is cached, but it seems to be working again for me under next.64.
next.64
No branches or pull requests
Seems that Svelte 5 compiled output of
cmdk-sv
is broken as ofnext.55
:(Looks like the change that broke things was introduced here: sveltejs/svelte#10477
I ran into this and while researching noticed someone else had already posted an issue related to this in the svelte repo. Copying their output below:
Repro
Install
[email protected]
Attempt to use simple
cmdk-sv
example:Logs
CC: @zhihengGet
The text was updated successfully, but these errors were encountered: