google-research / robotics_transformer

Apache License 2.0
1.29k stars 148 forks source link

Error with 'bazel test ...' command #8

Open backupaccount0 opened 1 year ago

backupaccount0 commented 1 year ago

Hi, thanks for your excellent work and open source it!

I am new to bazel and have some trouble running the command: bazel test ...

Is is possible for you to upload the bazel BUILD file or anyelse do I need to run the bazel related command?

AlexandrParkhomenko commented 1 year ago

bazel test ... WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file). ERROR: The 'test' command is only supported from within a workspace (below a directory having a WORKSPACE file). See documentation at https://docs.bazel.build/versions/main/build-ref.html#workspace

llipika commented 10 months ago

bazel test ... WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file). ERROR: The 'test' command is only supported from within a workspace (below a directory having a WORKSPACE file). See documentation at https://docs.bazel.build/versions/main/build-ref.html#workspace

I have the same problem remaining unsolved...

Jensonzzs commented 6 months ago

bazel test ... WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file). ERROR: The 'test' command is only supported from within a workspace (below a directory having a WORKSPACE file). See documentation at https://docs.bazel.build/versions/main/build-ref.html#workspace

I use “type nul > WORKSPACE” to solve this problem.But another problem appeared. ERROR: no targets found beneath '' INFO: Elapsed time: 0.064s INFO: 0 processes. ERROR: Build did NOT complete successfully ERROR: Couldn't start the build. Unable to run tests