【问题标题】:Facing some issues while building ionic-4 project在构建 ionic-4 项目时面临一些问题
【发布时间】:2019-12-30 06:21:56
【问题描述】:

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

这是截图和错误报告:

[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)

【问题讨论】:

  • 欢迎来到 SO。使用“--verbose”运行相同的命令,在问题中添加该错误日志。它会告诉更多关于错误来源的信息。

标签: angular cordova ionic4 ecmascript-5


【解决方案1】:

有类似的问题并且能够通过暂时将 tsconfig.app.json 目标从 es2015 更改回 es5 来修复我的构建,这禁用了差异加载。

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-16
    • 2020-02-03
    • 1970-01-01
    • 2017-01-13
    • 2021-02-07
    相关资源
    最近更新 更多