BasicSample doesn't have the common_defs.bzl
FareesHussain opened this issue · comments
Farees Hussain commented
I was able to run the app using gradle without any issues.
But When I run the command
bazel build :all
to check the targets I've encounterd a error
ERROR: Skipping ':all': while parsing ':all': error loading package '': cannot load '//:common_defs.bzl': no such file
WARNING: Target pattern parsing failed.
ERROR: while parsing ':all': error loading package '': cannot load '//:common_defs.bzl': no such file
INFO: Elapsed time: 0.066s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
Farees Hussain commented
Sorry for the trouble. I've found it in the root package.
I was check only in the BasicSample.
I guess I need to run the bazel commands from the root package