You are running create-react-app 4.0.3, which is behind the latest release (5.0.0)

리액트 create-react-app을 했더니 등장하는 오류였다.
1. 원인
- 캐시를 삭제하고 다시 다운받아야 한다.
2. 해결
1) cmd 창에
npx clear-npx-cache 을 입력하고 다시 create-react-app 하던가, 이 방법이 실패했다면
2) C:\Users\Your_user_name\AppData\Roaming\npm-cache 에 있는 모든 데이터를 지우던가, 아니면
3) 관리자 권한으로 cmd를 실행하고 npm cache clean --force 을 입력한다.
자료 출처 : https://exerror.com/you-are-running-create-react-app-4-0-3-which-is-behind-the-latest-release-5-0-0/
'[ 에러 수집 ] > Javascript' 카테고리의 다른 글
[ 에러 수집 ] JSON server 실행 안됨 ERR_CONNECTION_REFUSED | ReactJS (0) | 2022.01.27 |
---|---|
[ 에러 수집 ] Invalid shorthand property initializer | 자바스크립트 (0) | 2022.01.11 |