Upgrading Angular 7 project to 8

Please support me on Patreon: www.patreon.com/dkomen
As a linux user prefix these commands with : sudo

Update NMP: npm update -g
Update Angular: npm install -g @angular/cli

Change to your project folder and update the project to 8: Try: ng update –all=true if that does not work try: ng update –force –all=true

Build project from within project folder: ng build –prod
On build of upgraded project a typescript error occurred so I update it by hand:
npm show [email protected]* version 1 2 3 4 5 6 7 8 9
npm install [email protected] –save

Rebuilt and it worked fine.
Test project locally in your browser with: ng serve -o

Post Author: hatefull