首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Jenkins,kubernetes,getaddrinfo EAI_AGAIN

Jenkins,kubernetes,getaddrinfo EAI_AGAIN
EN

Stack Overflow用户
提问于 2019-12-02 02:25:45
回答 1查看 1.4K关注 0票数 0

在构建vuejs应用程序时遇到这个奇怪的错误-

代码语言:javascript
复制
[91merror An unexpected error occurred: "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz: getaddrinfo EAI_AGAIN registry.yarnpkg.com".
[0minfo If you think this is a bug, please open a bug report with the information provided in "/web/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...

尝试在解决方案会议中更改ndots -不起作用

我正在使用node:最新图像

当连接到此包含时,我能够解决。在kube host上的解析也很好。

有什么建议吗?

谢谢

EN

回答 1

Stack Overflow用户

发布于 2020-11-20 22:57:59

您是否尝试增加网络超时时间?可能是安装的包纱线太大或网络太慢(当我在docker上安装纱线时,这就发生在我的mac上)

试一试

代码语言:javascript
复制
yarn add YourPackageHere --network-timeout 100000
or
yarn install --network-timeout 1000000
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59128604

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档