我尝试使用npm i create-react-app、npx create-react-app new-app和npm init react-app new-app安装create-react-app,但一直收到以下错误消息:
You are running create-react-app 4.0.0, which is behind the latest release (4.0.1).
我正在尝试将create-react-app更新到它的最新版本。在文档中,他们提到使用下面的命令将react脚本更新为5.0.0。sudo npm i create-react-app@5.0.0
我想知道是否有办法在不知道确切版本的情况下将create-react-app更新到其最新的稳定发布版本。