Running "ng update" does nothing and never finishes
See original GitHub issueVersions
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:
- Created 5 years ago
- Reactions:10
- Comments:33 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
@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.