update version 14 to 16 Nx app route not working Error: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with
update version 14 to 16 Nx app route not working
NG0203typically happens when you have more than 1 instance of@angular/corein your app.run
npm ls @angular/coreto see this and find the culprit.