Polymer functions not functioning after Angular 11 update from 10 The errors in the console after ng serve has compiled succesfully