'Angular upgrade 11 | Error: Call retries were exceeded

Hi I have recently updated my angular project to version 11, when trying to build the application for prod in Jenkins getting below error, locally i am able to run the build successfully.

Command used for prod build

node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build --prod

Error: main.61d113eea27ee20e9b3e.js from Terser

Error: Call retries were exceeded

This is the version of my angular in dev dependency

"@angular-devkit/build-angular": "~0.1102.19", "@angular/cli": "11.2.19",



Sources

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

Source: Stack Overflow

Solution Source