[英]ng build: How to set the number of retries for ES5 bundles
My dev-build always retries 3 times.我的开发版本总是重试 3 次。 I'd like it to fail immediately (no retries).
我希望它立即失败(不重试)。
In angular-issue #16520 an error message shows that it fails after the 1st retry:在angular-issue #16520 中,错误消息显示它在第一次重试后失败:
Generating ES5 bundles for differential loading... An unhandled
为差分加载生成 ES5 包...一个未处理的
exception occurred: cancel after 1 retries !发生异常: 1 次重试后取消!
How can we set the max number of retries for ES5 bundle generation?我们如何设置 ES5 包生成的最大重试次数?
I do not think you should change the retries count.我认为您不应该更改重试次数。 I resolved this issue by downgrading the @angular-devkit/build-angular to 0.801.2
我通过将@angular-devkit/build-angular降级到0.801.2解决了这个问题
npm install @angular-devkit/build-angular@0.801.2
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.