在公司里使用了isa连接外网,刚开始使用npm 安装依赖的时候一直报错EAI_AGAIN reason: getaddrinfo EAI_AGAIN registry.npmjs.org,我们的老大给我换了一个isa之后,瞬间就可以安装依赖了,我也不知道是什么原理,这个和node安装应该没有什么关系。没啥说的,感觉懵懵的,真他吗的沙雕...
bnoordhuiscommentedJul 30, 2014 If/when you have a moment, mind sharing how you came to that conclusion? Sorry, right, I took a shortcut there. What I observe is that eventually the DNS requests start timing out and that in turn causes getaddrinfo() to return EAI_NONAME (what for his...