Skip to content

[bug]: Unable to Connect to Shadcn Registry #7479

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

Open
2 tasks done
Patrick-Ehimen opened this issue May 27, 2025 · 0 comments
Open
2 tasks done

[bug]: Unable to Connect to Shadcn Registry #7479

Patrick-Ehimen opened this issue May 27, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Patrick-Ehimen
Copy link

Describe the bug

Description:

I'm encountering an issue when trying to use the Shadcn CLI to add a sidebar to my project. The error occurs during the "Checking registry" step.

Steps to Reproduce:

  1. Run npx shadcn@latest add sidebar
  2. Error occurs during "Checking registry" step

The error message is:
request to https://ui.shadcn.com/r/index.json failed, reason: getaddrinfo ENOTFOUND ui.shadcn.com

Additional Notes: I've tried clearing my DNS cache and adding the domain to my hosts file, but the issue persists.

Image

Affected component/components

Sidebar

How to reproduce

Run npx shadcn@latest add sidebar

Codesandbox/StackBlitz link

https://github.com/Patrick-Ehimen/whale

Logs

System Info

OS: macOS

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@Patrick-Ehimen Patrick-Ehimen added the bug Something isn't working label May 27, 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

No branches or pull requests

1 participant