在建立ionic-4项目时面临一些问题

时间:2019-12-30 06:21:56

标签: angular cordova ionic4 ecmascript-5

在为Android构建ionic-4项目时,我遇到了一些问题,命令行在Generating ES5 bundles for differential loading处停止。

这是屏幕截图和错误报告:

Error Report

[error] Error: Call retries were exceeded
    at ChildProcessWorker.initialize (F:\Petrol Price App\27 New chart\app\node_modules\jest-worker\build\workers\ChildProcessWorker.js:193:21)
    at ChildProcessWorker.onExit (F:\Petrol Price App\27 New chart\app\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)

1 个答案:

答案 0 :(得分:0)

发生了类似的问题,并且暂时可以将tsconfig.app.json目标从es2015改回es5,从而修复了我的构建,从而禁用了差异加载。

参考:https://angular.io/guide/deployment#differential-loading