ui icon indicating copy to clipboard operation
ui copied to clipboard

[bug]: Issues setting up Shadcn for Tanstack Start

Open Cavdy opened this issue 8 months ago • 1 comments

Describe the bug

Hello, after setting up a new tanstack start app using the guide on shadcn docs. I get this error, I have tried setting up different apps, but still same error. Any guide on how to go about this?

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

Affected component/components

Init setup

How to reproduce

Follow the steps/guide in this docs

https://ui.shadcn.com/docs/installation/tanstack

Codesandbox/StackBlitz link

No response

Logs

  Packages: +220
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  Progress: resolved 220, reused 219, downloaded 1, added 220, done
  ✔ Preflight checks.
  ✖ Verifying framework.
  
  We could not detect a supported framework at /project.
  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

MacOS

Before submitting

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

Cavdy avatar Apr 18 '25 07:04 Cavdy

Someone else mentioned this, workaround is to install @tanstack/start.

https://github.com/shadcn-ui/ui/issues/7018#issuecomment-2751639223

tommerty avatar Apr 20 '25 23:04 tommerty

Someone else mentioned this, workaround is to install @tanstack/start.

#7018 (comment)

oh... Thanks @tommerty

Cavdy avatar Apr 27 '25 22:04 Cavdy