Skip to content

[bug]: shadcn CLI stuck at "Checking registry..." (Windows + Bun / npx) #10291

@baohg1108

Description

@baohg1108

Describe the bug

When running the shadcn CLI to add components, the process gets stuck at:

Checking registry.

and does not proceed further ~~

bunx shadcn@latest add form
or:
npx shadcn@latest add form
=> The CLI stops at "Checking registry..."

Affected component/components

form, CLI

How to reproduce

  1. Open terminal on Windows
  2. Run: bunx shadcn@latest add form
  3. Or run: npx shadcn@latest add form
  4. Observe that the CLI stops at "Checking registry..."
  5. It does not proceed or show any error

Codesandbox/StackBlitz link

No response

Logs

$ bunx shadcn@latest add form
✔ Checking registry.

$ npx shadcn@latest add form
✔ Checking registry.

System Info

OS: Windows 10 
Node: (22.20.0)
Bun: (1.3.11)
Package manager: bun / npm
Framework: Next.js

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions