Base solution for your next web application
Open Closed

Error NG0202 after upgrading to 12.4.2 in Docker environment #11845


User avatar
0
ips-ad created

Hi, We're currently working on upgrading our project from Zero 8 to 12.4.2, .NET Core & Angular. Most of the work should be done and the project is running again in dev environment, i.e. frontend and backend up and running.

But after creating and deploying Docker images to our testing environment, we're getting the following error:

This happens after logging in (login page showed up properly), and the spinner keeps spinning forever. The backend seems to be running fine so far, at least we're able to log in as a tenant and query some app services through the swagger interface.

It's hard to find information about what NG0202 means, so at the moment I'm not even sure where to start fixing it. Any help is appreciated!


1 Answer(s)
  • User Avatar
    0
    ips-jm created

    After some investigation, I realized that this error only occurs when optimization is set to "true" in the angular.json production config.

    Deployment is working as expected with optimization set to false. Have you had a similar case?