小编Ous*_*khi的帖子

无法使用 create-react-app 创建 React 应用程序

当我运行以下命令时,我在使用CRA创建新的 React 应用程序时遇到问题npx create-react-app my-app

  • 我尝试使用此命令清除 npm 缓存npm cache clean --force
  • 我也尝试过这个命令npm -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)

npm reactjs create-react-app

21
推荐指数
3
解决办法
1万
查看次数

标签 统计

create-react-app ×1

npm ×1

reactjs ×1