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 (9)
Which is available for ages now.
PS: Instead of posting a video, why not put the solution here directly? After all this is a blogging platform, right?
This doest work i draws an error
Yes it works. You might be using a really old
npmversion, or you might have an old version of
create-react-appcached so you need to add
Any project that starts with
create-can be used with
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.
Solution 1 worked!!
use this code below:
if you use the other normal installation it will throw an error, facebook recommends to use latest CRA