0
votes

I am trying to use create-react-app to create a new app but it is not working. The app is missing src, public folders Terminal: enter image description here

enter image description here

inside the app: enter image description here

2
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