Skip to content

ng update @angular/cli => Error: connect ETIMEDOUT 151.101.12.162:80 #10952

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
squadwuschel opened this issue May 22, 2018 · 10 comments
Closed
Milestone

Comments

@squadwuschel
Copy link

squadwuschel commented May 22, 2018

[x] bug report -> please search issues before submitting

Versions

Angular CLI: 6.0.3
Node: 8.9.4
OS: win32 x64
Angular: 5.0.1

Package Version

angular-devkit/architect 0.6.3
angular-devkit/core 0.6.3
angular-devkit/schematics 0.6.3
schematics/angular 0.6.3
schematics/update 0.6.3
rxjs 6.1.0
typescript 2.7.2

grafik

Repro steps

I'am behinde a proxy and the proxy settings in npm are fine so far, never got any problems until today.

I've local "old" angular cli installation 1.7.4 and I try to update this to 6.0.1

I've upgraded the global cli version to 6.0.1 works fine.

then I switch to the dir of my angular project with the package.json inside and try to

ng update @angular/cli

and then the following Error shows up:

grafik

I've found this pull which should be included, but I am not able to update
angular/devkit#692

Desired functionality

easy upgrade to 6.x

@Sioxas
Copy link

Sioxas commented Jun 10, 2018

Is there any temporary workaround?

@squadwuschel
Copy link
Author

Is this not fixed, I can't really update to the new version until this is fixed. :-/

@DsAekb
Copy link

DsAekb commented Sep 6, 2018

@squadwuschel You can update local angular-cli manually and then run the update.

npm uninstall angular-cli
npm install @angular/cli@latest
ng update @angular/cli

@squadwuschel
Copy link
Author

squadwuschel commented Sep 6, 2018

@DsAekb my problem is that I've about 40 projects to update and I was hoping that I don't need to do any manual upgrade steps in the configs and so on and so I've to create a large upgrade guide for every developer who need to update his app in my company

@DsAekb
Copy link

DsAekb commented Sep 6, 2018

@squadwuschel

Is this not fixed, I can't really update to the new version until this is fixed. :-/

It is fixed in newer versions, to use this fix you need to update it manually, I don't see any other way here.

@mkolisnyk-clgx
Copy link

ng update @angular/core --registry=http://registry.npmjs.org
It works for me.

@DsAekb
Copy link

DsAekb commented Sep 6, 2018

@mkolisnyk-clgx angular-cli 1.7.4 doesn't support the registry option.

@dmnk
Copy link

dmnk commented Dec 27, 2018

same setup here:
non-transparent proxy, everything defined in npm's config.
ng update fails (for 7.1.4, 7.1.0 works)

I'd say thats a regression of an already fixed bug?

@ngbot ngbot bot added this to the Backlog milestone Jan 24, 2019
@dgp1130 dgp1130 added needs: investigation Requires some digging to determine if action is needed triage #1 labels May 26, 2020
@alan-agius4
Copy link
Collaborator

Thanks for reporting this issue. Luckily, it has already been fixed in one of the recent releases. Please update to the most recent version to resolve the problem.

If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use ng new repro-app to create a new project where you reproduce the problem.

@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 Jul 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants