You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1). We no longer support the global installation of Create React App.
The solution…
Published in
2 min readMay 7, 2022
Running this command,
npx create-react-app myproject
And encountered this error →
You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1).We no longer support global installation of Create React App.Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app
After running either one of the commands —
npm uninstall -g create-react-app
Or,
yarn global remove create-react-app
And see something similar such as →
up to date, audited 1 package in 123msfound 0 vulnerabilities
However, when running this command →
npx create-react-app myproject
This was seen→
Need to install the following packages:
create-react-app
Ok to proceed? (y)