npx create-react-app my-app not responding

52 Views Asked by At

I am trying to run npx create-react-app my-app in Ubuntu and it doesn't respond at all rather just keeps the terminal engaged unless I cancel via Ctrl+C

Shell

I have removed and reinstalled node and npm.

Node: v18.18.2 npm: 9.8.1 Ubuntu 22.04.3 LTS

2

There are 2 best solutions below

0
On

So, the problem was fixed by downgrading from node18 to 16.

1
On

You did not pass the name of your project to the CL in the image you are showing.

npx create-react-app my-app

instead of:

npx create-react-app