我想更新我的create-react-app版本,但显然它们不再支持全局安装。当我第一次安装CRA时(不久前),它是全局安装的。现在,我正在尝试更新它,但我遇到了问题。因此,我决定完全卸载create-react-app并重新安装它,但是现在我遇到了上面的警告/问题。Michaels-MacBook-Pro:Documents me$ npm i -g creat
我尝试使用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).