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
You should replace the
./
part with your desired project name.Run this command
npx create-react-app my-app
. It will create a directory namedmy-app
, which has the react application inside it.Just create the missing directory (npm). Manually create the npm directory as follows.