Home > other >  I am trying to create React app and have error
I am trying to create React app and have error

Time:05-08

I enter in console 'npx create-react-app React-app' and it shows me...

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 also tried 'npx [email protected] React-app', but it also didnt work. NodeJS and npm are updated.

P.S. Sorry for my bad English

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

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
  • Related