question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running "ng update" does nothing and never finishes

See original GitHub issue

Versions

Angular CLI: 6.0.0
Node: 10.0.0
OS: win32 x64
Angular: 5.2.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.6.0
@angular-devkit/core         0.6.0 (cli-only)
@angular-devkit/schematics   0.6.0 (cli-only)
@angular/cli                 6.0.0
@schematics/angular          0.6.0 (cli-only)
@schematics/update           0.6.0
rxjs                         5.5.6
typescript                   2.6.2

Repro steps

  • Update cli from 1.6.3 npm install @angular/cli@6.0.0
  • Update node to 10 as only had 8.4 installed
  • run ng update

Observed behavior

Blinking cursor. No output. I waited 5 minutes and nothing happened. Had to Ctrl + C to quit.

Desired behavior

Should execute the command or give an error message.

Mention any other details that might be useful (optional)

I can see lots of Node.js processes being created in task manager Is there a way to run more verbose output?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:33 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
Swellenatorcommented, May 4, 2018

Hmmm actually it did eventually finish. Just took a really long time, like 10 minutes. I’ll leave this open for a little bit in case anyone wants to chime in.

2reactions
clydincommented, Jan 10, 2019

@britvik The improved update logic is present in the latest version of the CLI until it is updated the old logic will be used so the behavior described would be expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migration Angular 5 to 6 - 'ng update' hanging and do nothing
1 Answer 1 · Install Angular/CLI 6 global: npm install -g @angular/cli · Install Angular/CLI 6 local: npm install @angular/cli · Install dependent ......
Read more >
Angular CLI update issues: Manually Update your ... - Medium
Let's do a fresh install of Angular CLI by running the following 3 commands: ... ng serve. If ng serve is still throwing...
Read more >
ng update - Angular
Description. Perform a basic update to the current stable release of the core framework and CLI by running the following command.
Read more >
What's new in Angular CLI 12.0? - Ninja Squad
The CLI now uses Webpack v5 under the hood . There is nothing to do to enjoy it: just update your application to...
Read more >
How To Update Angular CLI To Latest Version
Just update @angular/core and @angular/cli by using ng update command. ng update @angular/core @angular/cli. or you can use npx command
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found