Angular provides a utility to update its packages. If you naively update every single one manually, you’ll get errors because the library will be incompatible with itself. Maybe other flavors of SPA have update scripts, too?
ng update @angular/core@<the next major version> @angular/cli@<the next major version> Don’t skip versions!
I can’t stand working with any JS/TS projects. I’ve spent days trying to update very simple SPA sites without any success.
Angular provides a utility to update its packages. If you naively update every single one manually, you’ll get errors because the library will be incompatible with itself. Maybe other flavors of SPA have update scripts, too?
ng update @angular/core@<the next major version> @angular/cli@<the next major version>
Don’t skip versions!I’ve mostly been working with VueJS 2 projects with the goal to upgrade to 3.