PS D:\WorkSpace\codeFiles> npx create-react-app my-app
You are running `create-react-app`4.0.3, 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:
- 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/
解决报错,并重新创建新项目
PS D:\WorkSpace\codeFiles>npm cache clean -f
npm WARN using --force I sure hope you know what you are doing.
PS D:\WorkSpace\code