繁体   English   中英

运行 npx create-react-app 时遇到错误

[英]Facing error while running npx create-react-app

npm 错误! 代码 E470

npm 错误! 470 状态码 470 - 获取http://registry.npmjs.org/create-react-app

npm ERR:此运行的完整日志可在以下位置找到:npm ERR。 C:\Users\L173734\AppData\Roaming\npm-cache_logs\2022-08-26T12_23_13_499Z-debug.log 安装 ['create-react-app@latest'] 失败,代码为 1

如何摆脱这个错误。 我的代理设置为关闭。

试试这两个命令,可能对你有用

  1. npm cache verify
  2. npm install -g create-react-app

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM