Home > other >  Why command create-react-app doesn't work?
Why command create-react-app doesn't work?

Time:12-17

I'm trying to create react project, but something is wrong. I don't understand how to fix it.

SCREENSHOT FROM CMD

CodePudding user response:

Check the versions of npm and node if it is ( Node >= 10.0.0 and npm >= 5.2 ) and try again. (npx create-react-app )

CodePudding user response:

They recently released a new version of create-react-app, and therefore may require you to reset your cache by either running:

npx clear-npx-cache

or by ensuring you are running the latest version of create-react-app using:

npx create-react-app@latest <project name>
  • Related