Git Product home page Git Product logo

Comments (2)

lucperkins avatar lucperkins commented on July 30, 2024

Which version of Bazel do you have installed?

from colossus.

rcholic avatar rcholic commented on July 30, 2024

I just installed the latest version: 0.20.0
The issue I posted was due to incorrect installation of bazel. After I re-installed it, I got a new issue as following:

dep ensure
bazel run //:gazelle -- update-repos -from_file=Gopkg.lock
(21:44:20) WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
(21:44:20) INFO: Invocation ID: ba91dd3b-3322-446a-aa84-75e179ff9062
(21:44:20) INFO: Current date is 2018-12-04
(21:44:20) ERROR: error loading package '': Encountered error while reading extension file 'maven/rules.bzl': no such package '@org_pubref_
rules_maven//maven': The native git_repository rule is deprecated. load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") for a replacement.
Use --incompatible_remove_native_git_repository=false to temporarily continue using the native rule.
(21:44:20) ERROR: Skipping '//:gazelle': error loading package '': Encountered error while reading extension file 'maven/rules.bzl': no suc
h package '@org_pubref_rules_maven//maven': The native git_repository rule is deprecated. load("@bazel_tools//tools/build_defs/repo:git.bzl
", "git_repository") for a replacement.
Use --incompatible_remove_native_git_repository=false to temporarily continue using the native rule.
(21:44:20) WARNING: Target pattern parsing failed.
(21:44:20) WARNING: No targets found to run. Will continue anyway
(21:44:20) ERROR: error loading package '': Encountered error while reading extension file 'maven/rules.bzl': no such package '@org_pubref_
rules_maven//maven': The native git_repository rule is deprecated. load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") fo
r a replacement.
Use --incompatible_remove_native_git_repository=false to temporarily continue using the native rule.
(21:44:20) INFO: Elapsed time: 0.430s
(21:44:20) INFO: 0 processes.
(21:44:20) FAILED: Build did NOT complete successfully (0 packages loaded)
(21:44:20) FAILED: Build did NOT complete successfully (0 packages loaded)
    Fetching @org_pubref_rules_maven; fetching
make: *** [gazelle-repos] Error 2

thanks a lot

from colossus.

Related Issues (4)

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.