0

I am trying to create a react app. When I run the npx create-react-app myapp command, this is what happens. I know I can ignore the vulnerabilities but the src and public folders are missing in the app folder. How can I get the missing folders?

kandy kane
  • 75
  • 1
  • 8

2 Answers2

0

follow this steps

  1. remove create-react-app
npm uninstall -g create-react-app

2)update npm npx using the following commands.

npm update npx

and run the final step

npx create-react-app my-app
Kanti vekariya
  • 667
  • 3
  • 13
0

Run these commands as follow :

npm i -g npm

npm uninstall -g create-react-app

npm updates npx

npx create-react-app app-name