create-tsrouter-app: CLI gets stuck when adding `--add-ons shadcn`

Which project does this relate to?

Create Tanstack App

Describe the bug

When running the following command: npx create-tsrouter-app@latest --add-ons shadcn

the CLI seems to hang infinitely on Setting up Shadcn... as shown below:

Image

Your Example Website or App

N/A

Steps to Reproduce the Bug or Issue

  1. Run npx create-tsrouter-app@latest --add-ons shadcn from the Terminal
  2. Observe that the CLI gets stuck on the “Setting up Shadcn…” step

Expected behavior

As a user, I expected the CLI to correctly set up Shadcn but I am seeing it stuck on “Setting up Shadcn…” and no warning or error is printed.

Screenshots or Videos

See above

Platform

  • OS: macOS
  • Node Version: v22.13.1

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 2
  • Comments: 25

Most upvoted comments

Deep sigh.

Well, I still thin the best thing to do is not run the command and to apply the patches myself. That’s what we do for solid-ui since it doesn’t even have a silent option.