How to fix the "core.js:6479 ERROR Error: It looks like your application or one of its dependencies is using i18n" in NX app


angular nx

Recently, I got this error when I was working with Angular i18n in the NX project:

core.js:6479 ERROR Error

Frankly, this error explains the solution itself. I have tried to fix this error by running the ng add @angular/localize, but unfortunately it produced a lot of errors with dependencies.

In my case I fixed it by installing the @angular/localize using the yarn and by adding the import '@angular/localize/init to the polyfills.ts:

core.js:6479 ERROR Error - solution in the NX project

comments powered by Disqus