-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm fails to install on IPv6 only networks #348
Comments
Hi, is this issue still valid? I see something similar was fixed in #35, but I encounter the same problem on IPv6-only server with DNS64 transition mechanism enabled.
If I use
Is it possible there is some hard-coded IPv4 method in |
It seems that npm still failed under ipv6 only network. The DNS resolves IPv6 + IPv4 addresses correctly at the same environment but npm or some components used by npm choose IPv4 somehow. Output
Verbose
Version & DNS
EnvDocker Image: node:lts-alpine3.10 |
After dig into this issue deeper it seems like a nodejs behavior: nodejs/node#31567 For now, my work around will be adding some line to |
Dive even deeper I found this issue seems to happen only on alpine based image, |
This might be related to #2519 and/or the same problem |
@darcyclarke is it possible to discuss this issue somewhere (matrix, slack, discord, irc)? |
Closing as this looks like a Node.js issue & there's a fixed queued up. Please let me know if I'm wrong & I can reopen. |
The text was updated successfully, but these errors were encountered: