kandi background
kandi background
Explore Kits
kandi background
Explore Kits
Explore all React open source software, libraries, packages, source code, cloud functions and APIs.

Popular New Releases in React

18.0.0 (March 29, 2022)

4.6.1

0.68.1

v5.0.1

vue

react

18.0.0 (March 29, 2022)

bootstrap

4.6.1

react-native

0.68.1

create-react-app

v5.0.1

Popular Libraries in React

Trending New libraries in React

Top Authors in React

1

196 Libraries

5151

2

144 Libraries

105804

3

86 Libraries

21926

4

80 Libraries

62151

5

80 Libraries

4882

6

76 Libraries

22375

7

76 Libraries

83557

8

74 Libraries

5211

9

74 Libraries

33114

10

68 Libraries

2377

1

196 Libraries

5151

2

144 Libraries

105804

3

86 Libraries

21926

4

80 Libraries

62151

5

80 Libraries

4882

6

76 Libraries

22375

7

76 Libraries

83557

8

74 Libraries

5211

9

74 Libraries

33114

10

68 Libraries

2377

Trending Kits in React

No Trending Kits are available at this moment for React

Trending Discussions on React

    Error while creating new React app ("You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0)")
    Error message "error:0308010C:digital envelope routines::unsupported"
    Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFile
    The unauthenticated git protocol on port 9418 is no longer supported
    How to redirect in React Router v6?
    Error: [PrivateRoute] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>
    new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method
    ESlint - Error: Must use import to load ES Module
    Android app won't build -- The minCompileSdk (31) specified in a dependency's androidx.work:work-runtime:2.7.0-beta01
    Error when deploying react app and it keeps sayings << Plugin "react" was conflicted between "package.json » eslint-config-react-app » >>

QUESTION

Error while creating new React app ("You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0)")

Asked 2022-Apr-04 at 11:58

I am getting this create React app error again and again even after doing the uninstall part.

npm uninstall -g create-react-app

up to date, audited 1 package in 570ms

found 0 vulnerabilities

npx create-react-app test-app

Need to install the following packages: create-react-app Ok to proceed? (y) y

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/

1C:\>npm --version
28.3.0
3C:\>node --version
4v16.13.0
5

How can I fix this?

ANSWER

Answered 2022-Jan-01 at 22:34

You will have to clear the npx cache to make it work.

You can locate the location of the folder where create-react-app is installed using npm ls -g create-react-app.

Also, to clear the cache, refer to this answer in How can I clear the central cache for `npx`?

Source https://stackoverflow.com/questions/70358474

Community Discussions contain sources that include Stack Exchange Network

    Error while creating new React app ("You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0)")
    Error message "error:0308010C:digital envelope routines::unsupported"
    Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFile
    The unauthenticated git protocol on port 9418 is no longer supported
    How to redirect in React Router v6?
    Error: [PrivateRoute] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>
    new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method
    ESlint - Error: Must use import to load ES Module
    Android app won't build -- The minCompileSdk (31) specified in a dependency's androidx.work:work-runtime:2.7.0-beta01
    Error when deploying react app and it keeps sayings << Plugin "react" was conflicted between "package.json » eslint-config-react-app » >>

QUESTION

Error while creating new React app ("You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0)")

Asked 2022-Apr-04 at 11:58

I am getting this create React app error again and again even after doing the uninstall part.

npm uninstall -g create-react-app

up to date, audited 1 package in 570ms

found 0 vulnerabilities

npx create-react-app test-app

Need to install the following packages: create-react-app Ok to proceed? (y) y

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/

1C:\>npm --version
28.3.0
3C:\>node --version
4v16.13.0
5

How can I fix this?

ANSWER

Answered 2022-Jan-01 at 22:34

You will have to clear the npx cache to make it work.

You can locate the location of the folder where create-react-app is installed using npm ls -g create-react-app.

Also, to clear the cache, refer to this answer in How can I clear the central cache for `npx`?

Source https://stackoverflow.com/questions/70358474