Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- TypeScript
- 회고
- which is behind the latest release (5.0.1).
- Til
- You are running `create-react-app` 5.0.0
- 구름톤
- create-react-app오류
Archives
- Today
- Total
비전공 프론트엔드 개발자
TIL. create-react-app 오류 본문
npm uninstall -g create-react-app
yarn global remove create-react-app
프로젝트를 할 때 create-react-app 을 자주 애용했다. 하지만 이번에 처음보는 오류를 보았다.
오류내용중 가장 눈에 띄는 내용은,,
You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1).
이런 글귀가 있었다. 검색을 해보니
create-react-app 은 더 이상 전역으로 지원을 하지 않는다고 한다.
해결방법이 상당히 간단하여 간략하게 정리할겸 공유하고자 한다.
먼저 글로벌 설치를 제거해야 한다.
npm uninstall -g create-react-app
yarn global remove create-react-app
이후 기존에 하던 방식으로 create-react-app 을 설치하면 오류 해결!
npm i create-react-app
npx create-react-app my-app
npx create-react-app .
왜 갑자기 이렇게 바뀌게 되었는지는 모르겠지만 오류해결 방법이 간단해서 금방 따라할 수 있을것이다.
'TIL' 카테고리의 다른 글
뤼른과 nextJS useRouter 로 밀당하기. (0) | 2023.05.21 |
---|---|
TIL. 22.08.01 (0) | 2022.08.01 |
TIL.22.07.25 (0) | 2022.07.25 |
TIL. 22.06.30 (0) | 2022.07.01 |
TIL. 22.06.29 UX & UI (0) | 2022.06.30 |