Answered by : ankur-prajapati
Try like this :
ng --version
npm uninstall -g @angular/cli
npm cache clean --force
npm install -g @angular/[email protected]
ng --version
Source : | Last Update : Tue, 28 Apr 20
Answered by : homely-hawk-923a7uf5rik9
$ npm install -g npm-check-updates
$ ncu -u
$ npm install
Source : https://stackoverflow.com/questions/16073603/how-do-i-update-each-dependency-in-package-json-to-the-latest-version | Last Update : Sun, 17 May 20
Answered by : breakable-bug-nnqdhj46b8k3
content_copy ng update @angular/cli @angular/core
Source : https://angular.io/cli/update | Last Update : Thu, 25 Jun 20
Answered by : magnificent-manx-15t8zdrpciod
ng update @angular/[email protected] @angular/[email protected]
Source : https://stackoverflow.com/questions/52970467/ng-update-to-specific-angular-version | Last Update : Thu, 16 Jul 20
Answered by : ankur-prajapati
First, update to the latest version of 8
ng update @angular/cli@8 @angular/core@8
Then, update to 9
ng update @angular/cli @angular/core
Source : | Last Update : Fri, 24 Apr 20
Answered by : muzammil-faiz
ng update @angular/cli@15
ng update @angular/[email protected]
ng update @angular/[email protected] --force
ng update
Source : | Last Update : Thu, 28 Dec 23
Answered by : natan-cipriano
npm uninstall -g @angular-cli
npm install -g @angular/cli@latest
Source : | Last Update : Sun, 15 Nov 20
Answered by : aggressive-addax-mg0bvneehdpb
ng update @angular/core @angular/cli --force
Source : https://www.codingzee.com/2021/05/angular-12-crud-example-with-web-api.html?m=1 | Last Update : Wed, 17 Nov 21