Whenever i was creating react app using
$ npx create-react-app app-name
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.
I have got two solutions for this for that go through through this video in details :
Top comments (7)
Thank you so much!
Glad it was helpful for you.
Solution #1 worked perfectly. Thanks much!
Glad it was helpful for you , Be sure to subscribe.
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
This doest work i draws an error
Solution 1 worked!!