Search code examples
reactjscreate-react-app

public, src,and scripts folder not created while using create-react-app


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.


Solution

  • Try with these steps :

    1. npm rm -g create-react-app
    2. npm install -g create-react-app
    3. npx create-react-app my-app

    Source