I am using the command npx create-react-app React-app
, but it shows me the following error.
You are running `create-react-app` 4.0.1, which is behind the latest release (5.0.1).
We no longer support global installation of Create React App.
I tried npx [email protected] React-app
, but it didnt work as well.
I have updated versions of npm and node.
CodePudding user response:
You are using older global version of creat-react-app. Please Kindly check the global version and update the version with below command
npm install -g [email protected]
or
npm install -g create-react-app@latest
Note : As you can see in the error there is no need to install creat-react-app globally so you can also uninstall the creat-react-app globally using below command
npm uninstall -g create-react-app
CodePudding user response:
npx clear-npx-cache
you can try this one and also check this post where you can find possible solutions : "You are running create-react-app 4.0.3 which is behind the latest release (5.0.0)"
CodePudding user response:
name of the project must be start whit lowwercase