티스토리 뷰
[리액트 오류] Are Running create React App 4.0 3 which is behind the latest release 5.0 0?
서스포PAR 2022. 1. 13. 14:56
21년 12월 14일에
create-react-app이 4.0.3 버전에서 5.0.0로 업데이트 되었습니다.
그럼 기존에 사용하는 사람이 어떻게 해결하는지에 대해서 알아봅시다!
🎁 create-react-app 페이스북 깃허브 🎁
https://github.com/facebook/create-react-app
GitHub - facebook/create-react-app: Set up a modern web app by running one command.
Set up a modern web app by running one command. Contribute to facebook/create-react-app development by creating an account on GitHub.
github.com
📑 create-react-app 오류 메세지
![](https://blog.kakaocdn.net/dn/cpoufF/btrqAVs4BnT/yfNsJzBh0CbpjGMgSF4Xi1/img.jpg)
You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0).
We no longer support global installation of Create React App.
최신 릴리스(5.0.0) 뒤에 있는 `create-react-app` 4.0.3을 실행 중입니다.
더 이상 Create React App의 전역 설치를 지원하지 않습니다.
👏 해결방법1. 최신 버전 강제 실행
- 강제로 실행하는 방법은 2가지가 존재합니다. ( 둘 중 하나 선택하여 사용하면 됩니다. )
npx create-react-app@latest "폴더명"
npx create-react-app@5.0.0 "폴더명"
👏 해결방법2. 기존 버전 삭제 후 다시 깔기
- 차례대로 진행해 주세요.
npm uninstall -g create-react-app
npm cache clean --force
npm cache verify
npx create-react-app my-app
🎁 참고자료 🎁
https://exerror.com/you-are-running-create-react-app-4-0-3-which-is-behind-the-latest-release-5-0-0/
[Solved] You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0) - Exception Error
To Solve You are running create-react-app 4.0.3, which is behind the latest release (5.0.0) Error Just try to run create command with Force t
exerror.com
'React > 기타' 카테고리의 다른 글
[리액트 오류] TypeError: Cannot read property 'map' of undefined (0) | 2022.04.26 |
---|---|
[React] serve -s build 오류 - Execution_Policies 권한 정책변경 (0) | 2022.01.26 |
- Total
- Today
- Yesterday
- 깃허브
- 비구조화(구조분해) 할당
- async
- Visual Studio Code
- vscode
- 반복문
- 콜백지옥
- Reat
- Single Page Application
- create-react-app
- 콜백함수
- 5.0.0버전 업
- Flexbox&CSS grid
- GIT
- 마크다운
- 4.0.3오류
- Multiple Page Application
- Execution_Policies
- SPREAD
- JSON
- react-router-dom
- Prettier
- github.io
- react
- await
- 소스제어
- ssh key
- Github
- localstorage
- MPA
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |