Skip to content

Cannot find bazel_vscode_compdb #19

@haidongx

Description

@haidongx

The command

bazel build --override_repository=bazel_vscode_compdb=/Users/hdx/.vscode/extensions/stackbuild.bazel-stack-vscode-cc-1.2.0/compdb/ --aspects=@bazel_vscode_compdb//:aspects.bzl%compilation_database_aspect  ......

ERROR: Unable to find package for @@[unknown repo 'bazel_vscode_compdb' requested from @@]//:aspects.bzl: The repository '@@[unknown repo 'bazel_vscode_compdb' requested from @@]' could not be resolved: No repository visible as '@bazel_vscode_compdb' from main repository.

So, it just the the build rule cannot pick up the local bazel_vscode_compdb or the aspect. This command might need to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions