[React] We no longer support global installation of Create React App. エラー解決

1150 ワード

反応の基礎を再蓄積するために個人プロジェクトを行い、コードアップルで反応講義を支払った.楽しい気持ちで最初の授業を聞くと、npx create-react-app 앱이름が最初から間違っていました.
この間糸でappを作って運転していたせいか、インストール中に久しぶりにエラー小僧に遭遇しました.
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
...干支
君が私にどうすればいいか,私はどうすればいいか.
- npm uninstall -g create-react-app
- yarn global remove create-react-app
私はこの2つのことをしても解決しなかったので、結局グーグルの力を借りました.
ソリューション)
npm uninstall -g create-react-app
npm add create-react-app
npx create-react-app 앱이름
そうしました.

こつこつと解決した
コメントサイト