React 'You are running `create-react-app` 5.0.1, which is behind the latest release' 에러
create-react-app 5.0.1 버전을 사용중인데 최신 버전이 나왔다고 오류가 발생하는 경우
해결방법
1. 구버전 제거하기
create-react-app 의 구버전을 시스템에서 전역적으로 제거
npm uninstall -g create-react-app
2. 최신 버전 설치
npm install -g create-react-app
3. 새 react 앱 만들기
npm create-react-app [my-app]
npx는 항상 최신 버전의 create-react-app을 사용하기 때문에, 전역으로 설치하지 않고도 바로 최신 버전을 사용할 수 있다.
'React and Spring Boot' 카테고리의 다른 글
[React] Visual Studio Code로 리액트 개발 시 유용한 자동완성 단축키 (0) | 2025.03.03 |
---|---|
React tailwind 설치 에러 'tailwind'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는배치 파일이 아닙니다. (0) | 2025.02.25 |
React 앱 설치 에러(Installing template dependencies using npm) (0) | 2025.02.14 |