【发布时间】:2022-01-20 08:06:50
【问题描述】:
您正在运行create-react-app 4.0.3,它落后于最新版本 (5.0.0)。
我们不再支持全局安装 Create React App。
请使用以下命令之一删除所有全局安装:
- npm 卸载 -g create-react-app
- yarn 全局删除 create-react-app
可在此处找到创建新应用的最新说明:
https://create-react-app.dev/docs/getting-started/
【问题讨论】:
-
显而易见的问题:您是否尝试过按照它所说的去做?有哪些结果?你可能之前在本地运行过
npm install create-react-app -
尝试按照终端上的说明进行操作
标签: reactjs npm-install npx