Question : ng update @angular/core @angular/cli
Answered by : defeated-dormouse-i44bx14q4inl
ng update @angular/core @angular/cli
Source : https://stackoverflow.com/questions/60131331/error-ts1086-an-accessor-cannot-be-declared-in-an-ambient-context-in-angular-9 | Last Update : Sun, 20 Dec 20
Question : ng update @angular/core @angular/cli
Answered by : erton-d-avila-sotero
npm uninstall -g angular-cli
npm install -g @angular/cli@latest
Source : https://stackoverflow.com/questions/43931986/how-to-upgrade-angular-cli-to-the-latest-version | Last Update : Tue, 05 May 20
Question : ng update @angular/core @angular/cli
Answered by : erton-d-avila-sotero
rm -rf node_modules
npm uninstall --save-dev angular-cli
npm install --save-dev @angular/cli@latest
npm install
Source : https://stackoverflow.com/questions/43931986/how-to-upgrade-angular-cli-to-the-latest-version | Last Update : Tue, 05 May 20