Relative Content

Tag Archive for angular

Angular 19: NullInjector errors in production build even when project is stripped to bare minimum

I have 2 projects written in Ionic with Angular 19 which are giving Nullinjector errors in production environment and not in development builds. In order to find out what would be causing these, I stripped one of my projects down to the bare minimum and I am still getting these Nullinjector errors. I’m not able to get more information about e.g. incorrect providers because the Nullinjector errors do not give more details in production. Example of the error: