-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: --noenable_bzlmod :: Unrecognized option: --noenable_bzlmod #1221
Comments
I had the same problem, have you solved it yet?
|
Same problem
After upgrading Bazel, the issue is gone. |
ERROR: --noenable_bzlmod :: Unrecognized option: --noenable_bzlmod. using the latest vesion. the error is gone. |
I assume the error is no longer reproducible with updated Bazel, if it is please feel free to reopen the bug. |
~/buildtools$ bazel build //buildifier //buildozer //unused_deps
INFO: Reading rc options for 'build' from /home/hlb/buildtools/.bazelrc:
Inherited 'common' options: --noenable_bzlmod
ERROR: --noenable_bzlmod :: Unrecognized option: --noenable_bzlmod
If I comment
# common --noenable_bzlmod
, then:~/buildtools$ bazel build //buildifier //buildozer //unused_deps
ERROR: /home/hlb/.cache/bazel/_bazel_hlb/5a84903b8aa4b1e2fce09ccd833212fb/external/io_bazel_rules_go/go/private/sdk.bzl:563:12: name 'json' is not defined
ERROR: error loading package '': in /home/hlb/.cache/bazel/_bazel_hlb/5a84903b8aa4b1e2fce09ccd833212fb/external/io_bazel_rules_go/go/deps.bzl: Extension 'go/private/sdk.bzl' has errors
INFO: Elapsed time: 0.043s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
The text was updated successfully, but these errors were encountered: