【发布时间】:2022-07-11 07:31:26
【问题描述】:
每当我跑步时
npx create-react-app my-app-name
它会抛出这个错误:
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:
- 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/
【问题讨论】:
标签: reactjs