728x90
반응형
You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1)

얼마 전에 리액트로 프로젝트 완성 후에 웹의 이론적인 부분하고 타입스크립트 그리고 뷰를 조금 공부하느라 리액트를 안 쓰다가 오랜만에 강의를 보면서 시작하려는데 기본 세팅에서 에러가 발생했다.
npx create-react-app my-app
입력후
아래 처럼 에러 메세지가 나왔고 내용은 더 이상 글로벌(전역) 설치를 지원하지 않으니 글로벌 설치를 제거하라는 거였다.
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
위에 도움말 대로
npm, yarn 두 가지 중 자신이 기존에 설치한 방법에 따라 선택해서 제거하고 나서
다시 재설치를 하면 해결할 수 있다.
글로벌(전역) 설치를 제거한 후에 아래 명령어로 재설치!
npm i create-react-app
npx create-react-app 프로젝트 이름
chry8822 - Overview
‘Keep true to the dreams of thy youth’ . chry8822 has 30 repositories available. Follow their code on GitHub.
github.com
728x90
반응형
'Server , etc' 카테고리의 다른 글
RSA(암호화 알고리즘) /SSH(보안 셸) 간단 정리 (0) | 2023.06.23 |
---|---|
자료 구조 / data structure , 자료구조란 (0) | 2023.04.24 |
SOP(same origin policy)-동일 출처 정책,CORS(cross origin resource sharing)-교차 출처 리소스 공유 (0) | 2022.03.31 |
쿠키,세션,캐시 (cookie, session, cache) 간단하 (0) | 2022.03.30 |
프론트 엔드(front-end)가 알아야할 내용들 (0) | 2022.01.12 |