you should no longer install the create-react-app globally, just run it using npx create-react-app my-app as described in the official documentation.
- stvn
2 Answers
0
votes
It says you are using an outdated version of CRA that doesn't include templates. Update then try again.
0
votes
Try the npx method. Run npx create-react-app my-app. It should install all the react files and folder in my-app folder.
Remember to run cd my-app to go in my-app folder and check if everything is fine by running npm start
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
create-react-appglobally, just run it usingnpx create-react-app my-appas described in the official documentation. - stvn