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

Most upvoted comments

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.

Just released patched v2.9.2. Please try again.

@shadcn Can confirm it is now working for me.

It is working with latest version too now.

After running

npx shadcn@2.9.0 init

It worked well, probably the issue is within shadcn@latest

npx shadcn@2.9.0 init
√ The path X:\Github Repos\test does not contain a package.json file.
  Would you like to start a new project? » Next.js
√ What is your project named? ... my-app
✔ Creating a new Next.js project.
√ Which color would you like to use as the base color? » Neutral
✔ Writing components.json.
✔ Checking registry.
✔ Updating CSS variables in app\globals.css
✔ Installing dependencies.
✔ Created 1 file:
  - lib\utils.ts

Success! Project initialization completed.
You may now add components.

Ah well at least we’re all on the same page here, thought I was losing it.