Sync fails without --enable_workspace #6984
Labels
awaiting-maintainer
Awaiting review from Bazel team on issues
product: IntelliJ
IntelliJ plugin
type: bug
Description of the bug:
For a bzlmod project that uses Bazel 8 where WORKSPACE approach is disabled by default, the build invocation of the plugin sync operation can fail if
--enable_workspace
is not specified.Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
You can import the python example project from this branch https://github.com/bazelbuild/intellij/tree/bazel-8/examples/python (modified to use Bazel 8 rc). The initial sync will fail with:
The error is gone when
--enable_workspace
is added. Do we have plans to address this by passing--enable_workapce
by default for now or some other way?Which Intellij IDE are you using? Please provide the specific version.
No response
What programming languages and tools are you using? Please provide specific versions.
No response
What Bazel plugin version are you using?
No response
Have you found anything relevant by searching the web?
bazelbuild/bazel#22691 (comment)
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: