Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

reactjs

redux

C:\Users\lg\Desktop> npm uninstall -g create-react-app

up to date, audited 1 package in 216ms

found 0 vulnerabilities
C:\Users\lg\Desktop>npx clear-npx-cache
Need to install the following packages:
  clear-npx-cache
Ok to proceed? (y) y
C:\Users\lg\Desktop>npx [email protected] reduxapp
Need to install the following packages:
  [email protected]
Ok to proceed? (y) y
npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

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.

Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app

The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/

C:\Users\lg\Desktop>npm i tar

up to date, audited 153 packages in 1s

6 packages are looking for funding
  run `npm fund` for details

3 high severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
C:\Users\lg\Desktop>npx [email protected] reduxapp

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.

Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app

The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/

I tried to solve it through Googling, but an error seems to occur, and the folder cannot be created.

enter image description here

like image 886
hse Avatar asked Sep 11 '25 02:09

hse


2 Answers

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

npx clear-npx-cache
npx install -g create-react-app react-app
like image 167
Satya Avatar answered Sep 16 '25 00:09

Satya


The below command worked for me,

npx create-react-app@latest my-app
like image 26
Kinyanjui Jack Avatar answered Sep 16 '25 00:09

Kinyanjui Jack



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!