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
---name: Report Command Errorabout: Report a command issue due to Tailwind v4 updatetitle: 'Command Error: `bunx —bun shadcn@latest init` should be `bun x —bun shadcn@latest`'labels: 'bug'assignees: ''---
Description
There is a command issue when setting up with `shadcn` using the old command:
```bash
bunx —bun shadcn@latest init
Error
Running the command above results in an error or unexpected behavior because the command format does not align with the latest Tailwind v4 update.
Solution
The correct command should be:
bun x —bun shadcn@latest
This is due to the new update in Tailwind v4 that modifies how commands are executed with Bun.
Steps to Reproduce
Run the following command:
bunx —bun shadcn@latest init
Observe the error or unexpected behavior.
Replace with the corrected command:
bun x —bun shadcn@latest
It should work correctly after the update.
Expected Behavior
The command should run without issues after replacing bunx with bun x as per the Tailwind v4 update.
Additional Information
Tailwind Version: v4 (or specify your version)
Bun Version: (Specify your version of Bun)
System Info: (Include your OS, Node version, etc.)
The text was updated successfully, but these errors were encountered:
Error
Running the command above results in an error or unexpected behavior because the command format does not align with the latest Tailwind v4 update.
Solution
The correct command should be:
This is due to the new update in Tailwind v4 that modifies how commands are executed with Bun.
Steps to Reproduce
Expected Behavior
The command should run without issues after replacing
bunx
withbun x
as per the Tailwind v4 update.Additional Information
The text was updated successfully, but these errors were encountered: