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

Document update #562

Open
theanuragg opened this issue Feb 19, 2025 · 3 comments
Open

Document update #562

theanuragg opened this issue Feb 19, 2025 · 3 comments

Comments

@theanuragg
Copy link

---
name: Report Command Error
about: Report a command issue due to Tailwind v4 update
title: '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

  1. Run the following command:
bunx —bun shadcn@latest init
  1. Observe the error or unexpected behavior.
  2. Replace with the corrected command:
bun x —bun shadcn@latest
  1. 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.)
@IanRestrepo
Copy link

You cant use magic ui with tailwind v4, please fix it

@dillionverma
Copy link
Collaborator

Working on tailwind v4 update!

@theanuragg
Copy link
Author

@dillionverma sound great I am using magic UI in my project but tailwind V3 !.. pretty excited about it

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

3 participants