-
Notifications
You must be signed in to change notification settings - Fork 12k
ng update error: Error: getaddrinfo ENOTFOUND #9646
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
Comments
Hello, I don't think it does. For me, the error is the following:
|
No. It needs access to npm. Adding an npm proxy flag would help. |
I don't think it's enough as I'm using a proxy for npm (otherwise it wouln't work) and I aslo changed the default registry to the "http" version (as the proxy I'm behind was causing issue with the "https") and I have the issue mentioned above. |
The flag should be on the update function itself :) We contact the npm registry directly, not passing through npm API, so there's nowhere you can set that proxy right now. |
confirm, also affecting me. PC behind corporate firewall fails, identically configured PC outside firewall works. v1.7.1 |
👍 Some of us corporate folks maintain our own registry that we use instead of the main npm registry, but even still, it doesn't seem to honor the http-proxy values |
@hansl when is this getting targeted? |
this also happens using the migrate-only flag |
Issue persists with v6.0.0-rc.3 |
The issue still persists with v^6.0.0 With the latest release of Angular, we are in desperate need of |
I also experience ng update problems behind corp proxy. Please make it high priority |
Are you still getting this? ng update --registery http://my-registery.local/repository/npm-all --proxy proxy.server:9999 |
ng update always write With Unfortunately, that's all I can get |
I have getting same problem now. |
This should be a solution to the problem #9646 (comment) |
@mgechev ... but proxy is not a valid argument to ng update, and only registry isn't enought because when I use our internal registry then it starts complaining about the authentication of course :)
Also, when I run it with verbose it seems to loop for a while (paths changed):
But the "found" .npmrc file contains our private registry and the authentication etc... |
If anyone is still facing issue, from moving angular 5.2 to 7, following worked for me:
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
ng update
Observed behavior
following error is thrown
Desired behavior
It should properly update the dependencies
Mention any other details that might be useful (optional)
Running this behind a corporate proxy. Does
ng update
take that into consideration?The text was updated successfully, but these errors were encountered: