[英]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.
This looks like an issue with your inte.net or your firewall.这看起来像是您的 inte.net 或防火墙的问题。 Make sure you can access
https://registry.npmjs.org/
.确保您可以访问
https://registry.npmjs.org/
。
The issue was about some vpn connection which was halting me from installing the dependencies, simply disconnect your vpn and boom it works again问题是关于一些 vpn 连接阻止我安装依赖项,只需断开你的 vpn 并再次运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.