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
- 탈출문자
- 값추가
- 그대로 출력하기
- DataFrame
- 10172
- 값삭제
- R데이터형태
- 이용현황분석
- plot in r
- react #회원가입 #비밀번호비교
- setstate
- getline
- 백준 10172
- 광명시버스분석
- vetor
- 이스케이프시퀀스
- 백준
- await
- 버스분석
- asynchronization
- 데이터분석
- 그래픽
- barplot
- 배열추가
- R 그래프
- React
- barplot in r
- 배열삭제
- 백준 11718
- useState
Archives
- Today
- Total
devlog_zz
[오류해결] You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1). We no longer support global installation of Create React App. 본문
Front End/React
[오류해결] You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1). We no longer support global installation of Create React App.
YJ_SW 2022. 10. 19. 13:34728x90
npx create-react-app my-app
create-react-app을 통해 react app을 생성하려고 했는데 아래와 같은 오류가 발생했다.
You are running `create-react-app` 4.0.3, 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
The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/
전역적으로 설치된 버전을 사용하는 대신 항상 최신 버전을 사용하도록 항상 create-react-app 직접 npx로 실행하는 것이 좋다 . 물론 npx 로 시도하기 전에 컴퓨터에 전역적으로 설치된 CRA 버전을 제거해야 한다.
해결 방법
npm uninstall -g create-react-app
npm add create-react-app
npx create-react-app my-app
728x90
'Front End > React' 카테고리의 다른 글
이벤트핸들러함수 onChange = {handleChange}, onChange = {e => handleChange(e)} (0) | 2022.11.28 |
---|---|
vite proxy 설정하기 (0) | 2022.11.09 |
React useMemo - 화면이 렌더링될때마다 함수의 불필요한 호출 방지 (0) | 2022.08.18 |
useState 변경함수 바로 업데이트 안되는 이슈 - setState()는 비동기 함수 (0) | 2022.07.31 |
useEffect 호출 안되는 (변경 인지 못하는) 버그 잡기 ( Recoil ) (0) | 2022.07.31 |
Comments