简体   繁体   English

npm 指向不同的注册表。npm 错误! 网络 getaddrinfo ENOTFOUND

[英]npm pointing to different registry.npm ERR! network getaddrinfo ENOTFOUND

I am trying to build gradle project in docker container via jenkins.我正在尝试通过 jenkins 在 docker 容器中构建 gradle 项目。 I logged into a private repo to get image to buildstep and started the build.我登录了一个私人仓库以获取构建步骤的图像并开始构建。 my.npmrc file is pointing to another private repo. my.npmrc 文件指向另一个私有仓库。 I am getting below npm error.我得到低于 npm 错误。

npm ERR! npm 错误! network getaddrinfo ENOTFOUND网络 getaddrinfo ENOTFOUND

I think this question have alread a response.我想这个问题已经有了回应。

You can see SharpCoder response .您可以看到SharpCoder 响应

This github URL can help you too #8151这个 github URL 也可以帮到你#8151

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM