簡體   English   中英

我正在嘗試通過運行“yarn”在 react web 應用程序中安裝依賴項,但出現此錯誤,有人可以幫助我解決該問題

[英]Am trying to install dependencies in a react web app by running "yarn" but i get this error ,could someone help me on how to solve it

yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
error An unexpected error occurred: "https://registry.npmjs.org/@babel%2fhelper-builder-react-jsx: connect ECONNREFUSED 104.16.23.35:443".
info If you think this is a bug, please open a bug report with the information provided in "/media/bkroland19/ROLAND/FINAL/ElectionDapp-main/client/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

這看起來像是您的 inte.net 或防火牆的問題。 確保您可以訪問https://registry.npmjs.org/

問題是關於一些 vpn 連接阻止我安裝依賴項,只需斷開你的 vpn 並再次運行

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM