-
Notifications
You must be signed in to change notification settings - Fork 12k
ng update failes to latest version 9.1.0: unable to get local issuer certificate #17314
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
The newest version of The external API of Since This is a fix that should happen in A very quick fix you can do yourself, is adding EDIT: Quick note: |
You saved my day! :) But honestly who the hell have decided to change such a core flag to something else than described in the official npm documentation? |
@bridzius, great work getting to the bottom of this. Well done! |
I have a similar situation, but in mine, I have a working NPM config with a
Error from
|
That's why we have set strict-ssl to false, because we have also a valid cafile set. This is a problem with npm not the angular cli. Because our ProGet private NPM/Nuget Repository is behind a firewall it is ok for us to disable strict-ssl here. Would npm access the default schannel certificate store like git does it would work. We get around this issue because we fetch all packages through our internal repository, that means it is also a NPM proxy. |
I likewise have a valid cafile, and I'm using a Nexus NPM proxy, and I leave My point is that I have a valid, secure setup, and I'm not using one of the affected settings, and so I'm not sure the commits here address the full problem. If someone puts out a build for me to test, I'll be happy to try it. |
Can anyone help me with the 407 error? |
`D:\projects\CIS_data\Angular\polaris>ng --version
/ △ \ | '_ \ / Angular CLI: 9.1.0 Angular: 9.1.0 Package Version@angular-devkit/architect 0.901.0 |
@marissagroves Are you behind a proxy? If so, your proxy settings might be affected by this issue as well. The patch translates these names:
If you have an |
@fluggo until the patch lands you need to have both versions of the flags and also for the default workflow with npm maybe you need for some cases also both flags. |
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. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 9.0.7
Description
Error fetching metadata for '@angular/cli': request to https://proget.mydomain.de/npm/FEED/@angular%2fcli failed, reason: unable to get local issuer certificate
🔬 Minimal Reproduction
🌍 Your Environment
Attention: This is the projects local version
Anything else relevant?
Well i'am very disappointed to have this error over and over again, since Angular 5 on any version this appears again and again. Why this cannot be fixed forever!!!
Possible Fixes
The text was updated successfully, but these errors were encountered: