Next.js Discord

Discord Forum

shadcn hanging on installing dependencies

Unanswered
Cinnamon posted this in #help-forum
Open in Discord
Avatar
CinnamonOP
When I try to add a shadcn component, it's hanging on "installing dependencies". I've waited more than an hour and it is still stuck like this. I've tried to wipe the npm cache as well as the node modules already and it still occurs for this one particular project. If I try to run the same command in a different project, it completes in < 5s. What might the issue be here?

pnpm dlx shadcn@latest add login-05

Configuration:
- Windows 10
- React 18
- Next 14
- Node 22

0 Replies