_npm_package_bin should use installed bazel runfiles instead of build_bazel_rules_nodejs/third_party/github/bazelbuild/bazel/tools/bash/runfiles/runfiles.bash
#2189
Labels
cleanup
Tech debt, resolving it improves our own velocity
has workaround
Reduced severity because users aren't blocked
🐞 bug report
Affected Rule
The issue is caused by the rule: Generated _npm_package_binIs this a regression?
NoDescription
The generated rules from npm rely on a runfiles not from the local bazel installation, but from a static version. For operating systems which patch runfiles.bash (see https://github.com/NixOS/nixpkgs/issues/43955), tools aren't available.🔬 Minimal Reproduction
WORKSPACE
BUILD
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_nodejs version:
(Please check that you have matching versions between WORKSPACE file and
@bazel/*
npm packages.)Anything else relevant?
Setting
use_default_shell_env
to True would likely also fix this issue. See bazelbuild/rules_typescript#235The text was updated successfully, but these errors were encountered: