Comments (2)
Which version of Bazel do you have installed?
from colossus.
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)
- "ErrImageNeverPull" HOT 2
- k8s bazel rules HOT 6
- web/main.go doesn't compile HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colossus.