Closed hhamja closed 2 weeks ago
Can you provide a minimal reproduction? This isn't quite enough information to troubleshoot.
Did you forget <Sidebar.Provider>
perhaps?
As @nikolaydyankov said, seems likely that it's missing the provider with those errors.
I got the same error and after a few minutes of tracking down where the problem was, I just needed to update bits-ui to version @next
bun i bits-ui@next
I did the installation in a new project following the documentation
bunx shadcn-svelte@next init
and there the version was installed bits-ui@0.21.16
That's likely because bun
is an inferior package manager to pnpm
Describe the bug
I added the sidebar of shadcn, which was newly released in svelte5 version, and added the code according to the usage instructions. It says that all status values defined for the sidebar cannot refer to properties.
Reproduction
I added the sidebar of shadcn, which was newly released in svelte5 version, and added the code according to the usage instructions. It says that all status values defined for the sidebar cannot refer to properties.
Logs
System Info
Severity
annoyance