1

I am asking for support related to a problem with shadcn installation. When I try to run the command npx shadcn-ui@latest init, it keeps installing dependencies and no more results for hours.

System parameters:

  • Windows 11
  • Node.js 21.7.3

Can anyone help me with this issue?

enter image description here

7
  • shadcn depends on external dependencies like radix ui Commented Apr 16, 2024 at 13:23
  • @cmgchess can you elaborate please? Commented Apr 16, 2024 at 13:28
  • wait do you mean your installation didnt finish? Commented Apr 16, 2024 at 13:32
  • @cmgchess Correct. It stays exactly like that for hours. It stops whenever I kill the terminal. Commented Apr 16, 2024 at 13:34
  • hmm sorry im not sure why it would be hanging :( Commented Apr 16, 2024 at 13:41

1 Answer 1

0

Installing from my main terminal (instead of vs code's terminal) worked for me.

Sign up to request clarification or add additional context in comments.

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.