79238276

Date: 2024-11-29 20:22:54
Score: 1.5
Natty:
Report link

After many attempts, I found the issue. The problem lies in the configuration of angular.json.

"@angular-devkit/build-angular:application" - does not work "@angular-devkit/build-angular:browser" - works correctly

Note: Changing this requires slight modifications to other parameters.|

From what I’ve read, using the browser builder means losing the ability to use SSR and Prerender. For now, I don’t need these features. I’m leaving this note here in case someone else struggles with the same issue.

If anyone manages to find a solution for "@angular-devkit/build-angular:application", I’d appreciate the info.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tomasz Jaworski