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 CI]Error loading external package: Both '--enable_bzlmod' and '--enable_workspace' are disabled, but one must be enabled to fetch external dependencies
#477
Open
sgowroji opened this issue
Sep 2, 2024
· 0 comments
ERROR: �[0mSkipping '//...': error loading package under directory '': error loading package 'web/versioned': Unable to find package for @@[unknown repo 'bazel_skylib' requested from @@]//:bzl_library.bzl: The repository '@@[unknown repo 'bazel_skylib' requested from @@]' could not be resolved: No repository visible as '@bazel_skylib' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration..
ERROR: �[0merror loading package under directory '': error loading package 'web/versioned': Unable to find package for @@[unknown repo 'bazel_skylib' requested from @@]//:bzl_library.bzl: The repository '@@[unknown repo 'bazel_skylib' requested from @@]' could not be resolved: No repository visible as '@bazel_skylib' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration..
Note : This issue is due to bazelbuild/bazel#23023. After --enable_workspace is flipped to false, users have to explicitly specify it where it's needed, or fully migrate to Bzlmod.
CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4093#0191abcf-6360-4d78-8ab8-5aea2636dbb1
Platform: Ubuntu
Logs:
Culprit: bazelbuild/bazel@5881c38
Note : This issue is due to bazelbuild/bazel#23023. After --enable_workspace is flipped to false, users have to explicitly specify it where it's needed, or fully migrate to Bzlmod.
CC Greenteam @fweikert
The text was updated successfully, but these errors were encountered: