angular / angular/components

Release builds are unable to build using workers

未关闭
#29,022 0 条评论 0 个 reaction 已指派 2 人 已被 @josephperrott 认领 在 GitHub 查看
area: build & ci
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

When attempting to perform a release build, the build fails with the following error log:

```
ERROR: /usr/local/google/home/amysorto/components/src/material/datepicker/BUILD.bazel:90:12: SassCompiler src/material/datepicker/date-range-input.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at /usr/local/google/home/amysorto/.cache/bazel/_bazel_amysorto/9aa9d212bc5094d24a51ae5af82e4d63/bazel-workers/worker-40-SassCompiler.log ---8<---8<---
(empty)
---8<---8<--- End of log ---8<---8<---
ERROR: /usr/local/google/home/amysorto/components/src/material/BUILD.bazel:47:11 Bundling types (src/material/datepicker/datepicker_public_index.d.ts) failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at /usr/local/google/home/amysorto/.cache/bazel/_bazel_amysorto/9aa9d212bc5094d24a51ae5af82e4d63/bazel-workers/worker-40-SassCompiler.log ---8<---8<---
(empty)
---8<---8<--- End of log ---8<---8<---
INFO: Elapsed time: 22.238s, Critical Path: 5.60s
INFO: 106 processes: 49 internal, 3 linux-sandbox, 54 worker.
FAILED: Build did NOT complete successfully
```

We have temporarily worked around this by forcing local spawn strategy.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。