'Can not create app using create-react-app on my pc
When I try to create an app using create-react-app that give an error
You are running create-react-app 5.0.0, which is behind the latest release (5.0.1).
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
I am trying this command: npm uninstall -g create-react-app but no solution
Solution 1:[1]
You have to run npx create-react-app myApp rather than running it directly.
Solution 2:[2]
npx create-react-app my-app
As per their documentation
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ino |
| Solution 2 | Apurba A |
