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
bazel run @npm//rollup/bin:rollup is the simpler way to run a tool from npm now (you don't need to write nodejs_binary at all, since we automatically make one for every bin entry in the node_modules)
This teaches you to use generated npm_package_bin rules rather than getting into details about writing custom rules with nodejs_binary
Fixesbazel-contrib#1727
🐞 bug report
Affected Rule
The issue is caused by the rule:
nodejs_binary
Is this a regression?
Not sure
Description
Errors when trying out the example usage
🔬 Minimal Reproduction
Follow the steps in https://bazelbuild.github.io/rules_nodejs/#usage until the step
bazel run:rollup -- --help
🔥 Exception or Error
🌍 Your Environment
Operating System:
macOS Catalina
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 repository for testing: https://github.com/yujunz/bazel_nodejs_quickstart/tree/rollup
The text was updated successfully, but these errors were encountered: