簡體   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