[React] We no longer support global installation of Create React App. 에러 해결

김현성·2022년 1월 13일
0

React

목록 보기
3/5

리액트 기초부터 다시 쌓으면서 개인 프로젝트를 진행하고자 코딩애플님 리액트 강의 결제 했는데요.. 신나는 마음으로 첫 강의 들으면서 npx create-react-app 앱이름 하자마자 에러 발생하셨습니다

그동안 yarn으로 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.

Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app




...띠로리

우선 하라는 대로

- npm uninstall -g create-react-app
- yarn global remove create-react-app

요 두가지를 했는데도 해결되지 않아서 결국 구글링의 힘을 빌렸어요



해결 방법)

npm uninstall -g create-react-app
npm add create-react-app
npx create-react-app 앱이름

이렇게 했더니

짜잔 해결 완료



참고 사이트

profile
아자아자

0개의 댓글

관련 채용 정보