Skip to content
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

[bug]: The component at https://ui.shadcn.com/r/colors/violet.json was not found. #5381

Open
2 tasks done
Nicolab opened this issue Oct 14, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@Nicolab
Copy link

Nicolab commented Oct 14, 2024

Describe the bug

I followed instructions to add the select component https://ui.shadcn.com/docs/components/select

When I install : pnpm dlx shadcn@latest add select, I have directly an error:

pnpm dlx shadcn@latest add select                                                                                                             ─╯

.../Library/pnpm/store/v3/tmp/dlx-63619  | +180 ++++++++++++++++++
.../Library/pnpm/store/v3/tmp/dlx-63619  | Progress: resolved 180, reused 180, downloaded 0, added 180, done
✔ Checking registry.
✔ Installing dependencies.
⠋ Updating files.

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/colors/violet.json was not found.
It may not exist at the registry. Please make sure it is a valid component.

 ERROR  Command failed with exit code 1: shadcn add select

pnpm: Command failed with exit code 1: shadcn add select
    at makeError (/snapshot/dist/pnpm.cjs)
    at handlePromise (/snapshot/dist/pnpm.cjs)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Object.handler [as dlx] (/snapshot/dist/pnpm.cjs)
    at async /snapshot/dist/pnpm.cjs
    at async main (/snapshot/dist/pnpm.cjs)
    at async runPnpm (/snapshot/dist/pnpm.cjs)
    at async /snapshot/dist/pnpm.cjs
    ```


### Affected component/components

Select

### How to reproduce

```sh
pnpm dlx shadcn@latest add select

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Mac M1, iOS 18


 "react": "^18.3.1",
 "react-dom": "^18.3.1",

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@Nicolab Nicolab added the bug Something isn't working label Oct 14, 2024
@talent-programmer
Copy link

same here

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

2 participants