简体   繁体   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.

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.

相关问题 当我编写 npm start 并收到此错误时,我的反应应用程序没有启动,任何人都可以帮助我,我是新来的反应。 我正在使用 Acode(Editor) 和 termux - My react app does not start when I write npm start and get this error can anyone please help me I am new to react. I am using Acode(Editor) and termux 我正在尝试使用yeoman和骨干创建示例应用程序,但显示一些错误有人可以帮助我吗? - I am trying to create sample app using yeoman and backbone but display some error can anyone help me? 我正在尝试安装bcrypt。 这是我的错误 - I am trying to install bcrypt. This s error it gives me 我收到错误运行纱线添加/安装时发生意外错误 - I am getting error An unexpected error occurred while running yarn add/install 运行main.js时出现错误。 “找不到模块'app'”。 谁能帮我 - I'm getting an error while running main.js. “ Cannot find module 'app' ”. Could anyone help me out 我正在尝试显示来自外部 api 的数据,如果有人可以帮助我解决代码中的问题 - i am trying to display data from an external api, if someone can please help me to fix the issue in my code “ nodemon: command not found” 当我尝试使用 yarn 安装时 - " nodemon: command not found" while I am trying to install using yarn 如何在 WINDOWS 8 中安装节点 V>14? 请有人帮助我 - HOW TO INSTALL A NODE V>14 IN WINDOWS 8?? Please someone help me 有人可以帮我理解并解决这个“无法安装@parcel/transformer-image”吗? (JS) - Can someone help me understand and solve this "Failed to install @parcel/transformer-image"? (JS) 我收到错误消息:“[coc.nvim] build/index.js 未找到,请通过以下方式安装依赖项并编译 coc.nvim:yarn install” - I get the error: "[coc.nvim] build/index.js not found, please install dependencies and complie coc.nvim by: yarn install"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM