'How to resolve a false fail when generating angular bundles for SPA in .NET Core?

When I execute the application I'm getting two red fails as shown below. Usually, when there's an error with types or otherwise.

fail: Microsoft.AspNetCore.SpaServices[0]
- Generating browser application bundles...
fail: Microsoft.AspNetCore.SpaServices[0]
 Browser application bundle generation complete.

The application seem runs ok I experience no failure in its operation. When I build it with ng build --aot, everything works dandy.

The issue seems to be the exit code returned in the Angular CLI. Is there anyway to fix or override this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source