[문제해결] "You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1)."

eunji·2022년 5월 2일
0

문제해결s

목록 보기
1/1
post-thumbnail

난이도 : 🌟

문제

  • create-react-app 실행
    npx create-react-app blog
  • error message
You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1).

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

해석을 해보면..
👉🏻 더 이상 Create React App의 전역 설치를 지원하지 않습니다.
👉🏻 다음 명령 중 하나를 사용하여 전역 설치를 제거하십시오.

  • npm uninstall -g create-react-app
  • yarn global create-react-app 제거

해결

  1. 전역 설치 제거
  2. 재설치

npm uninstall -g create-react-app
npm i create-react-app (프로젝트 최상단 폴더에서 실행)
npx create-react-app blog


👩🏻‍💻 : 하라는 대로만 하면 된다.

profile
https://eunjitech.tistory.com/

0개의 댓글