skip to Main Content

enter image description herewhen I try to enter the npx create-react-app this error appears

I do have node v18.18.0 however when I try the comand it is not working, I tried to see what can be the error however nothing it is coming up clearly I have create a new file that is empty.

2

Answers


  1. You should replace the ./ part with your desired project name.

    Run this command npx create-react-app my-app. It will create a directory named my-app, which has the react application inside it.

    Login or Signup to reply.
  2. Just create the missing directory (npm). Manually create the npm directory as follows.

    C:UsersUsernameAppDataRoamingnpm
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search