Skip to content

Error in ng update, ng update ignores npm ssl-strict setting #10689

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

Closed
AlgoTrader opened this issue May 7, 2018 · 3 comments
Closed

Error in ng update, ng update ignores npm ssl-strict setting #10689

AlgoTrader opened this issue May 7, 2018 · 3 comments

Comments

@AlgoTrader
Copy link

AlgoTrader commented May 7, 2018

Versions

Angular CLI: 6.0.0
Node: 8.9.4
Angular: 5.2.8

Repro steps

ng update @angular/cli

Observed behavior

ng update @angular/cli
unable to verify the first certificate

Desired behavior

no error

Mention any other details that might be useful (optional)

I added ssl: {strict: false} to fix it in node_modules/@schematics/update/update/npm.js

            const client = new RegistryClient({
                proxy: {
                    http: options[0],
                    https: options[1],
                },
              ssl: {strict: false}
            });

Real fix should respect the strict-ssl npm settings.

@AlgoTrader
Copy link
Author

#10669 is related issue

@clydin
Copy link
Member

clydin commented May 8, 2018

Duplicate of #10596

@clydin clydin marked this as a duplicate of #10596 May 8, 2018
@clydin clydin closed this as completed May 8, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants