Error : No repository visible as '@platforms' from main repository with Bazel@HEAD
sgowroji opened this issue · comments
Platform : Ubuntu, Windows
Logs:
ERROR: no such package '@@[unknown repo 'platforms' requested from @@]//os': The repository '@@[unknown repo 'platforms' requested from @@]' could not be resolved: No repository visible as '@platforms' from main repository
(02:18:30) ERROR: C:/b/bk-windows-d1v9/bazel-org-repo-root/rules_nodejs/e2e/smoke/BUILD.bazel:280:10: errors encountered resolving select() keys for //:using_headers_test
(02:18:30) ERROR: Analysis of target '//:using_headers_test' failed; build aborted
Steps:
git clone https://github.com/bazelbuild/rules_nodejs.git
git reset a040f894b1bf690ede9d869f61b880498bc5457f --hard
export USE_BAZEL_VERSION=88cfacc4ff68d616fee981be55daaeaa760f5b3e
bazel build //...
CC Greenteam @mai9
It looks like it was broken here: https://github.com/bazelbuild/rules_nodejs/pull/3694/files#diff-132d3e46a0cad64bcb033d6a31ef83ba0c7aebeda7e6f9e5a2a11f497f11d87fR284