Relative Content

Tag Archive for node.jsangulartypescriptangular-materialupgrade

Angular Material upgrade to Version 17

I am currently in the process of upgrading angular, including angular material to v17. I am following the angular.dev guide on this, which can be found here https://angular.dev/update-guide?v=16.0-17.0&l=2 (you must check the boxes “I use Angular Material” and “I use Windows“). ng update @angular/core@17 @angular/cli@17 goes through without a problem. When I try to execute the ng update @angular/material@17, the angular/cdk is at first glance successfully update to version 17.3.10, but the same cannot be said for angular material. The version of angular material is changed to 17.3.10 in the package.json, but for some odd reason the migrations cannot be successfully executed on that package. It freezes as soon as it reaches “> Updates Angular Material to v17” and after a couple of hours it finally says that Javascript heap is out of memory.