skip to Main Content

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

Answers


  1. Chosen as BEST ANSWER

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


  2. 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
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search