Skip to content

[Bug]: CLI fails to add v1 components (Registry items 404 Not Found) #73

@sergiiopm

Description

@sergiiopm

I am trying to add components using the CLI, specifically targeting the v1 components, but the command is failing. It seems that with the release of v2 today, the registry URLs for the previous components are no longer accessible.

Steps to Reproduce

  1. Run the installation command for a component (e.g., navigation-menu):
    npx shadcn@latest add @reui/navigation-menu-default

  2. The CLI returns a 404 error indicating the JSON definition is missing.

Error Message

Image

Metadata

Metadata

Assignees

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