[react-node.js 에러] You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0).

YS_Study.log·2022년 3월 3일
0

실행코드

리액트 프로젝트를 생성하려고 하자 아래의 에러코드가 떴다.

npx create-react-app my-react-project

에러코드

You are running create-react-app 4.0.3, which is behind the latest release (5.0.0).

해결방법

  • 실패시도 : 캐쉬를 삭제해보고 다시 프로젝트를 생성하려해도 에러발생

    npx clear-npx-cache

  • 해결코드
  1. 최신버전으로 업데이트도 해주기
  2. 다시 프로젝트 생성코드 실행하면 프로젝트 정상적으로 생성완료
  • npx create-react-app@latest my-react-project--use-npm
    또는 npx create-react-app@5.0.0 my-react-project
  • npx create-react-app my-react-project

profile
느리지만 조금씩 공부하는 중 입니다. 현재 1년 6개월차 신입입니다 ><!

0개의 댓글