오랜만에 리액트 프로젝트를 생성하려고하니 다음과 같은 메시지를 확인했다.
$ create-react-app basic-react
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
The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/
Getting Started | Create React App
Create React App is an officially supported way to create single-page React
create-react-app.dev
해결방법
npm uninstall -g create-react-app
npm add create-react-app
npx create-react-app [프로젝트명]
'개발' 카테고리의 다른 글
[AWS] 프리티어 폭탄 요금 청구 해결 (0) | 2022.01.18 |
---|---|
[설정] ESLint - 코드 작성 규칙 설정 (0) | 2022.01.15 |
[설정] 리액트 + 타입스크립트 프로젝트 생성 (0) | 2022.01.15 |
[이슈] Create React App requires Node 14 or higher. (0) | 2022.01.11 |
[이슈] Please remove any global installs with one of the following commands (0) | 2022.01.11 |