Closed YSFKBDY closed 1 year ago
Angular version 10 is no longer supported.
See: https://angular.io/guide/releases#actively-supported-versions
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Command
build
Is this a regression?
The previous version in which this bug was not present was
No response
Description
My Angular 10 project is getting bigger, and at some point I've started to get an error while trying to build with
ng build --prod
. When I try to build, I am getting an error at the point of Generating ES5 bundles for differential loading... and it says:Error Log:
I've noticed that if I comment out around 1k lines of my code at any of my components and try to build, it works. But when I re-open it and build again, then it gives the same error. I need to use differential loading, so I can't close it.
Node.js version:
v14.21.2
Angular version:~10.2.0
tsconfig.json:
What I've tried so far?
Minimal Reproduction
I don't know how to reproduce the issue. My Angular 10 project is getting bigger, and at some point I've started to get an error while trying to build with
ng build --prod
.Exception or Error
Your Environment
Anything else relevant?
No response