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
The issue is caused by the rule: nodejs_binary & genrule
Is this a regression?
N/A
Description
When a nodejs_binary has a npm dependency, such dependency won't be found if the target is called as a tool in a genrule (failing with Error: Cannot find module). bazel run //:helloworld will continue to run as expected.
🐞 bug report
Affected Rule
The issue is caused by the rule: nodejs_binary & genrule
Is this a regression?
N/A
Description
When a
nodejs_binary
has a npm dependency, such dependency won't be found if the target is called as a tool in a genrule (failing withError: Cannot find module
).bazel run //:helloworld
will continue to run as expected.🔬 Minimal Reproduction
hello.ts
:BUILD.bazel
:🔥 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?
The text was updated successfully, but these errors were encountered: