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

前端 未结 12 1865
囚心锁ツ
囚心锁ツ 2020-12-14 07:48

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 cont

12条回答
  •  南方客
    南方客 (楼主)
    2020-12-14 08:45

    Still didn't got to know the issue. But i tried :-

    npm rm -g create-react-app
    npm install -g create-react-app
    npx create-react-app my-app
    

    This also didn't worked for me. So I uninstalled node and installed it again. It worked for me

提交回复
热议问题