ui icon indicating copy to clipboard operation
ui copied to clipboard

[bug]: Cannot initialize components.json using `npx shadcn@latest init` after manual installation of shadcn (for my React app)

Open pr2tik1 opened this issue 5 months ago • 7 comments

Describe the bug

I cannot intialize the component.json by following manual installation followed by npx shadcn@latest init.

Affected component/components

components.json

How to reproduce

  1. Install shadcn from - https://ui.shadcn.com/docs/installation/manual
  2. Setup components.json - https://ui.shadcn.com/docs/components-json

Codesandbox/StackBlitz link

No response

Logs

npx shadcn@latest init
⠙
✔ Preflight checks.
✖ Verifying framework.

We could not detect a supported framework at /my-app/frontend.
Visit https://ui.shadcn.com/docs/installation/manual to manually configure your project.
Once configured, you can use the cli to add components.

System Info

GitHub Workspaces

Before submitting

  • [X] I've made research efforts and searched the documentation
  • [X] I've searched for existing issues

pr2tik1 avatar Sep 06 '24 06:09 pr2tik1