1.修改package.json
Call retries were exceeded
翻译:构建过程内存不足
“build”: “node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng build --prod”,
2.临时解决方法:
Generating ES5 bundles for differential loading…
翻译:在 ng build 时遇到异常(正在生成用于差异加载的ES5束…)
修改tsconfig.ts, 将"target": “es2015”, 降回到了"target": “es5”, .
https://stackoverflow.com/questions/59531305/call-retries-were-exceeded-exception-while-ng-build
http://www.longant.cn/zh-hans/node/1779