Reputation: 59
The create-next-app isn't responding it is stuck midway through the installation with zero installation progress and its been like this for more than 10 mins
can someone pls give a solution for this?
Upvotes: 2
Views: 4457
Reputation: 2747
For me, following command (npx create-next-app@latest
) gets stuck after giving project name. Then if I enter, it exists as follows. I encountered this issue in node 20.18.0 and 20.9.0. Afterwards I degrade to node 18.20.4 where I got the same issue again.
Then without @latest
, I ran the command (npx create-next-app <project-name>
) again with the project name as follows. Then it ran without any issue. For this, I used node 20.18.0.
Upvotes: 0
Reputation: 591
For me I was trying to run it in Git Bash and it would not show the progress bar, stuck on -eslint-config-next
. Worked fine when running in VSC terminal.
Upvotes: 1
Reputation: 31
I have the same issue and I fixed it updating my Node version, from 14 to 18 (18.16.1
Upvotes: 1
Reputation: 11
Update your node version and theres a good chance it'll start working.
Upvotes: 0
Reputation: 113
it happens to me very often too, usually i cancel installation by control + c, and reinstall which works fine
Upvotes: 1