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

[bug]: Add npm: specifier when shadcn cli installs dependencies with Deno (2.0) #6890

Open
2 tasks done
EGAMAGZ opened this issue Mar 8, 2025 · 0 comments · May be fixed by #6899
Open
2 tasks done

[bug]: Add npm: specifier when shadcn cli installs dependencies with Deno (2.0) #6890

EGAMAGZ opened this issue Mar 8, 2025 · 0 comments · May be fixed by #6899
Labels
bug Something isn't working

Comments

@EGAMAGZ
Copy link

EGAMAGZ commented Mar 8, 2025

Describe the bug

When I execute deno run -A npm:shadcn@latest init, it throws me the next error that is caused by the missed npm: specifier when dependencies are installed:

Image

Affected component/components

N/A

How to reproduce

  1. Execute deno run -A npm:shadcn@latest init

Codesandbox/StackBlitz link

No response

Logs

√ Preflight checks.
√ Verifying framework. Found Astro.
√ Validating Tailwind CSS config. Found v4.
√ Validating import alias.
√ Which color would you like to use as the base color? » Neutral
√ Writing components.json.
√ Checking registry.
√ Updating src\styles\global.css
/ Installing dependencies.
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`?

System Info

Windows 11
deno 2.2.2 (stable, release, x86_64-pc-windows-msvc)
v8 13.4.114.9-rusty
typescript 5.7.3

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@EGAMAGZ EGAMAGZ added the bug Something isn't working label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant