ng update @angular/core fails
See original GitHub issueVersions
Angular CLI: 6.0.0
Node: 8.9.1
OS: win32 x64
Angular: 5.2.10
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
------------------------------------------------------
@angular-devkit/architect 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/schematics 0.6.0
@angular/cli 6.0.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 5.5.10
typescript 2.6.2
Repro steps
- Follow steps at https://update.angular.io/
ng update @angular/core
Observed behavior
Package "@angular/compiler-cli" has an incompatible peer dependency to "typescript" (requires ">=2.7.2 <2.8", would install "2.6.2")
Invalid range: ">=4.3.0"
Desired behavior
I would expect this to work properly.
Mention any other details that might be useful (optional)
I tried to manually update the compiler-cli and run the update function again and got this:
$ ng update @angular/core
Invalid range: ">=4.3.0"
Issue Analytics
- State:
- Created 5 years ago
- Reactions:104
- Comments:83 (4 by maintainers)
Top Results From Across the Web
Error in ng update @angular/core when upgrading Angular ...
I have fixed by reinstalling @angular-devkit/build-angular , like this: npm install --save-dev install @angular-devkit/build-angular.
Read more >ng update fails on latest angular cli · Issue #15941 - GitHub
We have two: Package "@angular/core" has an incompatible peer dependency to "zone.js" (requires "~0.9.1", would ...
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 >How To Update Angular CLI To Latest Version
To update Angular CLI to latest version Angular, use ng update @angular/core @angular/cli@latest command.
Read more >Upgrading to Angular 7 fails - Material Design for Bootstrap
This is caused by this, that the ng-uikit-pro-standard is not available on npm, so ng update won't find it and update. After updating...
Read more >
Top Related StackOverflow Question
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
Sorry for beeing so negative and off topic, but what’s the point for Google to provide a new
ng update
command supposed to ease things if we need 58 comments in a an issue and 6 steps, to go from 6.0.0 to 6.0.1 in the end? I gave up, I will update this later when tools will be less cumbersome to use.This should have been checked before angular 6.0.0 was released. Now I have to downgrade everything.