0

I have been working on this task to upgrade from angular 8 to 14. After upgrading to 14 I am seeing this Error: NG0204 error in the console on serving my app. No additional information is provided (see image attached)

enter image description here

Seems like the error happens in index.html when we reach the <app-root> selector. Hence, the app component constructor doesn't load either.

Any idea what this could be related to?

I have tried debugging but couldn't understand whats going on here since theres no additional details in the error.

Avinash Gayam
  • 13
  • 1
  • 4
  • You're running your app in prod mode. Run it in devmode for better logging informations & errors – Matthieu Riegler Jul 24 '23 at 20:03
  • @MatthieuRiegler, I have added a configuration in my angular.json to replace the env file with the local env file and run it likewise `ng serve --configuration=local` but still see the same. Tried development instead of local too but same results – Avinash Gayam Jul 24 '23 at 20:55

0 Answers0