Unable to bazel run
a js_binary()
on Windows
#481
Labels
bug
Something isn't working
help wanted
Aspect isn't prioritizing this, but the community could
windows
Specific to Windows
Trying to
bazel run
a binary created withjs_binary()
(using 86b7aaa) on Windows fails with the following error:This
bazel run
is successfull on Linux/Mac. Ajs_run_binary()
works.I would guess the error is due to
rules_js/js/private/js_binary.sh.tpl
Line 250 in 86b7aaa
bazel run
context. Adding aenv = {"BAZEL_BINDIR":"$(BINDIR)"}
to thejs_binary()
produces:While looking at the code I thought
JS_BINARY__BINDIR
might be relevant here, but it seems unused except for the logging statement inrules_js/js/private/js_binary.sh.tpl
Line 372 in 86b7aaa
The text was updated successfully, but these errors were encountered: