When trying to build an Angular 9 application on the build server, it failed on the ‘Generating ES5 bundles for differential loading’ step with the following error message:
An unhandled exception occurred: Call retries were exceeded
On the developer machines we couldn’t reproduce the issue (as always). Inside the angular-errors.log we found the following extra details:
[error] Error: Call retries were exceeded
at ChildProcessWorker.initialize (\node_modules\@angular-devkit\build-angular\node_modules\jest-worker\build\workers\ChildProcessWorker.js:193:21)
at ChildProcessWorker.onExit (\node_modules\@angular-devkit\build-angular\node_modules\jest-worker\build\workers\ChildProcessWorker.js:263:12)
at ChildProcess.emit (events.js:210:5)
at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
We were able to solve the issue by upgrading the node version on the build server. Hopefully this helps for you as well…