当我运行以下命令时,我在使用CRA创建新的 React 应用程序时遇到问题npx create-react-app my-app。
npm cache clean --forcenpm -g uninstall create-react-app 我的节点版本是v14.15.3,npm 版本是7.10.0
我得到的错误是:
Need to install the following packages:
create-react-app
Ok to proceed? (y)
Run Code Online (Sandbox Code Playgroud)