Coder Social home page Coder Social logo

Comments (5)

allevato avatar allevato commented on September 14, 2024

About how large is the workspace (how deep is its package structure, how many external dependencies, etc.)?

If you run the Developer: Toggle Developer Tools command, do you see any logging that looks relevant in the console?

When the tree first loads, it runs bazel query //... --output=package in your workspace directory to get the full list of packages. If you run that from the command line, does it take a long time to finish? If not, how many lines is the output?

from vscode-bazel.

allevato avatar allevato commented on September 14, 2024

Can you check this again with the latest release (0.2.0) of the extension on the marketplace? We fixed a couple issues that may have been causing this.

from vscode-bazel.

jfroy avatar jfroy commented on September 14, 2024

We're seeing this error now. It may be a problem in our WORKSPACE:

Command failed: bazel query ...:* --output=package
Loading: 0 packages loaded
Loading: 543 packages loaded
    currently loading: vendor/google.golang.org/api/pagespeedonline/v4
Loading: 892 packages loaded
    currently loading: third_party/libvpx
ERROR: error loading package 'bazel-master/external/bazel_tools/src/main/protobuf': Label '//tools/build_rules:genproto.bzl' crosses boundary of package 'tools' (perhaps you meant to put the colon here: '//tools:build_rules/genproto.bzl'?)
Loading: 1123 packages loaded
    currently loading: bazel-master/external/bazel_tools/src/tools/launcher/util ... (2 packages)
Loading: 1123 packages loaded
    currently loading: bazel-master/external/bazel_tools/src/tools/launcher/util ... (2 packages)

from vscode-bazel.

jfroy avatar jfroy commented on September 14, 2024
Build label: 0.25.2
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri May 10 20:47:48 2019 (1557521268)
Build timestamp: 1557521268
Build timestamp as int: 1557521268```

from vscode-bazel.

allevato avatar allevato commented on September 14, 2024

That does look like a problem specifically in one of the BUILD files in your workspace, rather than a problem with the extension, since Bazel is launching properly. I'm going to close out this issue, but feel free to reopen it if you investigate and believe the issue is related.

from vscode-bazel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.