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

Nextjs: Adding Shadcn UI components fails #28477

Open
Tech-Vexy opened this issue Mar 12, 2025 · 1 comment
Open

Nextjs: Adding Shadcn UI components fails #28477

Tech-Vexy opened this issue Mar 12, 2025 · 1 comment
Labels
needs info needs further information to be properly triaged

Comments

@Tech-Vexy
Copy link

When I try adding shadcn components to my Next.js project that uses the Deno runtime, I get the error below:

Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Command failed with exit code 1: deno add tailwindcss-animate class-variance-authority lucide-react clsx tailwind-merge
error: tailwindcss-animate is missing a prefix. Did you mean `deno add npm:tailwindcss-animate`?        

I used the command below:

deno run -A npm:shadcn@latest init        
@marvinhagemeister
Copy link
Contributor

I'm not able to reproduce the error on my end. Are you using the latest Deno version 2.2.3?

@marvinhagemeister marvinhagemeister added the needs info needs further information to be properly triaged label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info needs further information to be properly triaged
Projects
None yet
Development

No branches or pull requests

2 participants