Intellij: Error:Could not run Bazel info

Created on 5 Feb 2018  路  4Comments  路  Source: bazelbuild/intellij

How to solve those errors (I can build the project in Terminal using bazel)

Error:Cannot run program "bazel" (in directory "/xxx/xxx"): error=2, No such file or directory
Error:Could not run Bazel info

Most helpful comment

The solution in the linked issue is:

  • Navigate to Settings > Other Settings > Bazel Settings
  • Update Bazel binary location to /usr/local/bin/bazel

All 4 comments

dumped with #88

The solution in the linked issue is:

  • Navigate to Settings > Other Settings > Bazel Settings
  • Update Bazel binary location to /usr/local/bin/bazel

Is there a way to bootstrap this value to /usr/local/bin/bazel when the bazel IJ plugin is installed? (in the interest of having sane defaults)

On windows, you can install bazel from: https://github.com/bazelbuild/bazel/releases, and then operate as david-wg2 described.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brandonpollack23 picture brandonpollack23  路  5Comments

jgavris picture jgavris  路  6Comments

mbravi picture mbravi  路  7Comments

sundermann picture sundermann  路  5Comments

ghost picture ghost  路  6Comments