[Bug]: not functioning properly
rengui-hs opened this issue · comments
What happened?
renguizhou@renguidembp backend % bazel clean --expunge && bazel sync
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
Starting local Bazel server and connecting to it...
ERROR: ErrorInfo{exception=null, cycles=[[] -> [[/Users/renguizhou/Desktop/haystack/zaplink/backend]/[WORKSPACE.bazel], 2, KeyForWorkspace{label=@build_bazel_rules_nodejs//:index.bzl, isBuildPrelude=false}, KeyForWorkspace{label=@build_bazel_rules_nodejs//internal/pkg_web:pkg_web.bzl, isBuildPrelude=false}, KeyForWorkspace{label=@rules_nodejs//nodejs:providers.bzl, isBuildPrelude=false}, CONTAINING_PACKAGE_LOOKUP:@rules_nodejs//nodejs, PACKAGE_LOOKUP:@rules_nodejs//nodejs, REPOSITORY_DIRECTORY:@rules_nodejs]], isCatastrophic=false, isDirectlyTransient=false, isTransitivelyTransient=false}
checking cached actions
Version
Development (host) and target OS/architectures:
ProductName: macOS
ProductVersion: 13.4.1
ProductVersionExtra: (c)
BuildVersion: 22F770820d
Output of bazel --version
:
Build label: 6.3.1-homebrew
Build target: bazel-out/darwin_arm64-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jan 1 00:00:00 1980 (315532800)
Build timestamp: 315532800
Build timestamp as int: 315532800
Version of rules_nodejs, or other relevant rules from your
WORKSPACE
or MODULE.bazel
file:
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_docker",
sha256 = "85ffff62a4c22a74dbd98d05da6cf40f497344b3dbf1e1ab0a37ab2a1a6ca014",
strip_prefix = "rules_docker-0.23.0",
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.23.0/rules_docker-v0.23.0.tar.gz"],
)
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "709cc0dcb51cf9028dd57c268066e5bc8f03a119ded410a13b5c3925d6e43c48",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.4/rules_nodejs-5.8.4.tar.gz"],
)
load("@build_bazel_rules_nodejs//:index.bzl", "npm_install")
npm_install(
name = "npm",
package_json = "//:package.json",
yarn_lock = "//:yarn.lock",
)
load(
"@io_bazel_rules_docker//repositories:repositories.bzl",
container_repositories = "repositories",
)
container_repositories()
load(
"@io_bazel_rules_docker//nodejs:image.bzl",
_nodejs_image_repos = "repositories",
)
_nodejs_image_repos()
Language(s) and/or frameworks involved:
How to reproduce
bash
bazel clean --expunge && bazel sync
### Any other information?
_No response_