You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using next 15 with bun.
It worked well until I upgraded my bun to a text-based lockfile.
After I changed the archive bun.lock to a text-based lockfile bun.lock and removed bun.lockb, the shadcn CLI will always use npm instead of bun.
I tried re-adding bun.lockb and it worked, so I'm guessing that only bun.lockb is being recognized and not bun.lock
For now, if you already upgraded to bun v1.2 you can just run rm bun.lock && touch bun.lockb && bun i, It will return the binary lock file and you will be able to use shadcn cli tool with bun as the package manager
Describe the bug
I'm using next 15 with bun.
It worked well until I upgraded my bun to a text-based lockfile.
After I changed the archive
bun.lock
to a text-based lockfilebun.lock
and removedbun.lockb
, the shadcn CLI will always use npm instead of bun.I tried re-adding
bun.lockb
and it worked, so I'm guessing that onlybun.lockb
is being recognized and notbun.lock
Before adding

bun.lockb
, onlybun.lock
After adding

bun.lockb
Affected component/components
all
How to reproduce
bunx --bun shadcn@latest add checkbox
in Next 15 project.bunx --bun shadcn@latest add checkbox
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: