【发布时间】:2022-01-07 00:41:28
【问题描述】:
我已经使用了命令
> npx create-react-app my-app
Need to install the following packages:
create-react-app
Ok to proceed? (y)
// I apply the command but the result is
Ok to proceed? (y) y
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/
【问题讨论】:
标签: reactjs visual-studio-code installation