[React/Error] create-react-app 설치 중 오류 해결

rondido·2022년 11월 15일
0

React

목록 보기
9/39
post-thumbnail

create-react-app을 사용하여 React 프로젝트 환경 설정 중 아래와 같은 에러 발생

위 에러문에서보면 글로벌로 설치 된 cra를 지우고 다시 설치하라고 되어 있습니다.

- npm uninstall -g create-react-app
- yarn global remove create-react-app

위 두개의 명령어를 실행 후 다시

 npx create-react-app my-app

으로 cra 프로젝트 생성

profile
개발 옆차기

0개의 댓글