티스토리 뷰

 

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 오류 메세지

 

 

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

 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/07   »
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
글 보관함