npx create-react-app 오류

support·2022년 2월 26일
0

Errors

목록 보기
2/6

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/

오류메세지에서 알려준대로 작성해봤지만 실패


Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app

해결 1

npm uninstall -g create-react-app
npm add create-react-app
npx create-react-app my-app

해결 2

npx create-react-app@5.0.0 my-app

참고
stackoverflow

0개의 댓글