I am trying to create a new project using create-react-app
using the command given on the docs i.e npx create-react-app my-app
but it doesn't contain folders like public
src
and script
.
Try with these steps :
npm rm -g create-react-app
npm install -g create-react-app
npx create-react-app my-app