You are running `create-react-app` 4.0.2, which is behind the latest release (4.0.3).
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/
执行npx create-react-app my-app,仍然报这个错的话是之前之前是通过全局安装npm install -g create-react-app
解决方案:
npm uninstall -g create-react-app
npx create-react-app my-app
cd my-app
npm start