shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
72.57k stars 4.41k forks source link

[bug]: error occurring while installing the components #5386

Open fida1403 opened 1 week ago

fida1403 commented 1 week ago

Describe the bug

npx shadcn@latest add avatar ⠴ Checking registry.

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

request to https://ui.shadcn.com/r/index.json failed, reason: self-signed certificate in certificate chain

Affected component/components

all

How to reproduce

  1. Go to terminal
  2. Try to install any component(eg: button, textarea, input ...)

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

windows 11 pro

Before submitting

narimanjahanshahi commented 6 days ago

I have the same problem too 😭😭😭😭😭

talent-programmer commented 6 days ago

same here

Medkhat commented 5 days ago

You may want to try the manual installation process. It's working

image