Same issue here. Running the cordova build command with --verbose, I get this error message:
[error] Error: Call retries were exceeded
at ChildProcessWorker.initialize (/Users/me/Documents/apps/myapp/node_modules/jest-worker/build/workers/ChildProcessWorker.js:193:21)
at ChildProcessWorker.onExit (/Users/me/Documents/apps/myapp/node_modules/jest-worker/build/workers/ChildProcessWorker.js:263:12)
at ChildProcess.emit (events.js:198:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
It seems to be connected with this issue:
But I still can’t manage to get it solved.
Edit: Error occurs on one of my projects only. For all others I can build without any problems. Could there be a performance issue with cordova/Ionic? My machine (MBP, 2,7 GHz i7, 16 GB RAM) should be able to build my projects I guess…
EDIT2 / Temporary solution:
There was a change in @angular-devkit/build-angular which updated the differential loading. To fix this in your Ionic project, change the target value from “es2015” to “es5” in your tsconfig.json:
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
]
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}
Let’s hope there’s a real fix for that soon but in the meantime we at least can build our projects.