Angular project's version updating is a extra hassel
See original GitHub issueLike when I try to update my angular version 11 project to angular version 12 , I run ng update
then its shows
✔ Package successfully installed.
Using package manager: 'npm'
Collecting installed dependencies...
Found 0 dependencies.
We analyzed your package.json, there are some packages to update:
Name Version Command to update
--------------------------------------------------------------------------------
@angular/cdk 11.0.0 -> 12.2.10 ng update @angular/cdk
@angular/cli 11.2.0 -> 12.2.10 ng update @angular/cli
@angular/core 11.0.0 -> 12.2.10 ng update @angular/core
@angular/material 11.0.0 -> 12.2.10 ng update @angular/material
@ngrx/store 8.6.0 -> 12.5.0 ng update @ngrx/store
There might be additional packages which don't provide 'ng update' capabilities that are outdated.
You can update the additional packages by running the update command of your package manager.
then I run ng update --allow-dirty --force --verbose
& got same output as ng update
all though --all
is deprecated. I also runs ng update @angular/cdk @angular/cli @angular/core @angular/material
The installed local Angular CLI version is older than the latest stable version.
Installing a temporary version to perform the update.
✔ Package successfully installed.
Using package manager: 'npm'
Collecting installed dependencies...
Found 0 dependencies.
Package '@angular/cdk' is not a dependency.
Actually what is going on here. What’s wrong ? I’m totally fed-up didn’t get any useful solution on https://angular.io/cli/update here. Please make it more convenient and explain in more detail manner so that if someone want to update project he could easily update project without this kinda of common hassel.
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:12
Top Results From Across the Web
Keeping your Angular projects up-to-date
Angular Versioning and Releases describes the level of change that you can expect based a release's version number. It also describes supported update...
Read more >Upgrading Angular versions has to be the most frustrating ...
Upgrading from 12-13 to eventually 14. First problem: Package "@angular-eslint/schematics" has an incompatible peer dependency to ...
Read more >Is it safe to update a production app to the latest version of ...
It is safe to update to each new version of Angular. Not only is it safe, you had better do it. It will...
Read more >How often should you update angular/node packages
So I basically have two options: Update the project and all it's modules very regularly, which can become a hassle I think; Lock...
Read more >the installed angular cli version is older than the latest stable ...
I'm trying to upgrade an old app to the latest version of Angular (7 ... angular/angular-cliAngular project's version updating is a extra hassel#21960....
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 FreeTop 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
Top GitHub Comments
@sefatanam YEEEAH! Glad I could help! Cheers!
✔ It worked. Thanks @LAlves91 for your support & patient.