problems building IDEA

Answered

I am trying to build IDEA 26.2.1

[*** note to impatient readers… I am not building a project of my own, this is your IDEA project ***]

and I am getting this error when loading or syncing the “Bazel Project” [again: not my project, yours!]

error loading package '@@lib+//': File '/Users/alan/Library/Caches/JetBrains/MonorepoBazel/fbfbfc248ddbdcadc9f875e5c1fa5d5e/external/lib+/BUILD.bazel' is unexpectedly longer than 759026 bytes)
Loading: 0 packages l\
oaded
   currently loading\
: @@lib+// ... (2 pac\
kages)

 

0
2 comments

Hi Alan Snyder , please run bazel shutdown in your intellij-community checkout. Then sync the Bazel project again. The repository ships a wrapper, so ./bazel.cmd shutdown works from the checkout root.

If the error survives a shutdown, bazel clean --expunge also clears it. That one discards the whole output base, and the next build refetches everything, so it is worth trying the shutdown first.

0

Jerome Guan Thank you very much. shutdown did the trick!

 

0

Please sign in to leave a comment.