재우니의 블로그

react 생성시 public, src,and scripts folder 생성 안될 경우

전역으로 create-react-app 을 전부 삭제하고 재설치하는게 답이다. 아래 1,2,3 순서대로 실행하면 잘 됩니다.

https://github.com/facebook/create-react-app/issues/8088

 

public, src,and scripts folder not created while installing react-app · Issue #8088 · facebook/create-react-app

npx version: 6.13.2 node version: 12.13.1 npm : 6.13.2 Created a react-app using: npx create-react-app my-app Folder with node_modules, package.json and packageloack.json is created but src, public...

github.com

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