Angular 9 introduced a global ‘$localize()’ function that needs to be loaded
You need to make sure you have the @angular/localize package first: npm install @angular/localize –save Then, import ‘@angular/localize/init’ in your polyfills.ts file just like the error says