You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
INFO: Analysed target //app:devserver (2 packages loaded).
INFO: Found 1 target...
ERROR: /private/var/tmp/_bazel_matt/3fed23a2ef51f4f0c7bcf4b6ca1a97a8/external/rxjs/BUILD.bazel:7:1: Compiling TypeScript (devmode) @rxjs//:lib failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at /private/var/tmp/_bazel_matt/3fed23a2ef51f4f0c7bcf4b6ca1a97a8/bazel-workers/worker-0-TypeScriptCompile.log ---8<---8<---
Starting TypeScript compiler persistent worker...
/private/var/tmp/_bazel_matt/3fed23a2ef51f4f0c7bcf4b6ca1a97a8/execroot/fabrik/external/build_bazel_rules_typescript/internal/tsc_wrapped/worker.ts:117
process.stdout.write(new workerpb.WorkResponse()
^
TypeError: workerpb.WorkResponse is not a constructor
at Socket.<anonymous> (/private/var/tmp/_bazel_matt/3fed23a2ef51f4f0c7bcf4b6ca1a97a8/execroot/fabrik/external/build_bazel_rules_typescript/internal/tsc_wrapped/worker.ts:117:28)
at emitNone (events.js:106:13)
at Socket.emit (events.js:208:7)
at emitReadable_ (_stream_readable.js:513:10)
at emitReadable (_stream_readable.js:507:7)
at addChunk (_stream_readable.js:274:7)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:594:20)
---8<---8<--- End of log ---8<---8<---
Target //app:devserver failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 25.220s, Critical Path: 8.61s
INFO: 14 processes: 6 darwin-sandbox, 8 local.
FAILED: Build did NOT complete successfully
I tried hacking around to change worker.ts to the protobuf js syntax, but I hit errors about invalid buffers and out of range indexes, and couldn't find any docs on the API between Bazel server and the workers. If someone can provide some in site I can put a PR together if this is the right direction.
The following error is thrown when using the worker strategy with the Typescript Compiler
bazel.rc
output
bazel version:
rules_typescript version:
I tried hacking around to change
worker.tsto the protobuf js syntax, but I hit errors about invalid buffers and out of range indexes, and couldn't find any docs on the API between Bazel server and the workers. If someone can provide some in site I can put a PR together if this is the right direction.