DEV Community

Cover image for We no longer support global installation of Create React App
Code With Arjun
Code With Arjun

Posted on

We no longer support global installation of Create React App

Whenever i was creating react app using

$ npx create-react-app app-name
Enter fullscreen mode Exit fullscreen mode

It was showing error something like this

We 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.

Enter fullscreen mode Exit fullscreen mode

I have got two solutions for this for that go through through this video in details :

Top comments (7)

Collapse
 
catreunion profile image
Isaac Li

Thank you so much!

Collapse
 
codewitharjun profile image
Code With Arjun

Glad it was helpful for you.

Collapse
 
jatanops profile image
jatan-ops

Solution #1 worked perfectly. Thanks much!

Collapse
 
codewitharjun profile image
Code With Arjun

Glad it was helpful for you , Be sure to subscribe.

Collapse
 
gmako6 profile image
gmako6

use this code below:

npx create-react-app@latest

if you use the other normal installation it will throw an error, facebook recommends to use latest CRA

Collapse
 
gmako6 profile image
gmako6

This doest work i draws an error

Collapse
 
gourab337 profile image
Gourab Chakraborty

Solution 1 worked!!