You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0). We no longer support global installation of Create React App

Solution 1:

try clearing npx-cache if you recently ran this on older version.

npx clear-npx-cache
npx install -g create-react-app react-app

Solution 2:

Also what one can do is enter the console as administrator, located in the user's folder, and put this command (in my case I used the NPM one)

npm uninstall -g create-react-app

we uninstall it and then I reinstall it

npm install -g create-react-app

and voila, it worked for me

Solution 3:

i used npx create-react-app@latest my-app . this worked for me