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
outputs were deprecated by bazel and should be removed from this rule
🔬 Minimal Reproduction
Build rules_nodejs with latest bazel
🔥 Exception or Error
ERROR: Traceback (most recent call last):
File ".../build_bazel_rules_nodejs/internal/node/node.bzl", line 553, column 21, in
nodejs_binary = rule(
Error in rule: in call to rule(), parameter 'outputs' is deprecated and will be removed soon. It may be temporarily re-enabled by setting --incompatible_no_rule_outputs_param=false
ERROR: error loading package '': in ...index.bzl: Extension file 'internal/node/node.bzl' has errors
INFO: Elapsed time: 2.639s
I'm guessing your running with --incompatible_no_rule_outputs_param, unfortunately it will have to be disabled currently --noincompatible_no_rule_outputs_param
🐞 bug report
Affected Rule
internal/pkg_npm/pkg_npm.bzl
pkg_npm = rule(
implementation = _pkg_npm,
attrs = PKG_NPM_ATTRS,
doc = _DOC,
outputs = PKG_NPM_OUTPUTS,
)
Is this a regression?
No. New bazel deprecation
Description
outputs were deprecated by bazel and should be removed from this rule
🔬 Minimal Reproduction
Build rules_nodejs with latest 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: