[React] You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0). 해결방법

dev stefanCho·2022년 3월 6일
0

react

목록 보기
17/19

문제상황

create-react-app을 하는데 최신버전이 아니어서 실행이 되지 않습니다.

output에 있는 방법대로 아래 2가지를 시도해봤으나, 결과는 같았습니다.

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

해결

create-react-app@latest 로 설치해주도록 합니다.

> npx create-react-app@latest hooks-test-ts --template typescript

profile
Front-end Developer

0개의 댓글