ui: [bug]: 2.9.1 Broken Registry
Describe the bug
2.9.1 updates seem to have broken the registry for components
clint@clint MINGW64 ~/workspace/costco/acs-helper (master)
$ npx shadcn@latest init
√ Preflight checks.
√ Verifying framework. Found Next.js.
√ Validating Tailwind CSS config. Found v4.
√ Validating import alias.
√ Which color would you like to use as the base color? » Zinc
√ Writing components.json.
√ Checking registry.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
The component at https://ui.shadcn.com/r/index was not found.
It may not exist at the registry. Please make sure it is a valid component.
Affected component/components
CLI
How to reproduce
run npx shadcn@latest init
Codesandbox/StackBlitz link
No response
Logs
System Info
W11 64-bit x86, using npm
Before submitting
- I’ve made research efforts and searched the documentation
- I’ve searched for existing issues
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 7
- Comments: 23
Just released patched
v2.9.2. Please try again.Got the same error when trying to add component
✔ Checking registry.
Something went wrong. Please check the error below for more details. If the problem persists, please open an issue on GitHub.
The component at https://ui.shadcn.com/r/select was not found. It may not exist at the registry. Please make sure it is a valid component.
@shadcn Can confirm it is now working for me.
It is working with latest version too now.
After running
npx shadcn@2.9.0 initIt worked well, probably the issue is within shadcn@latest
Ah well at least we’re all on the same page here, thought I was losing it.