Fail to run ' clj -X:deps prep'

Prepping metabase/java-deps in /Users/qingyou/Downloads/metabase-1.41.4/java
Error compiling Java sources: nil
[{:type java.lang.NullPointerException,
[[$javac invokeStatic "javac.clj" 28]
[$javac invoke "javac.clj" 21]
[clojure.lang.Var invoke "" 384]
[$javac invokeStatic "api.clj" 229]
[$javac invoke "api.clj" 219]
[build$compile_java invokeStatic "build.clj" 10]
[build$compile_java invoke "build.clj" 7]
[clojure.lang.Var invoke "" 384]
[user$eval1 invokeStatic "NO_SOURCE_FILE" 1]
[user$eval1 invoke "NO_SOURCE_FILE" 1]
[clojure.lang.Compiler eval "" 7181]
[clojure.lang.Compiler eval "" 7170]
[clojure.lang.Compiler eval "" 7136]
[clojure.core$eval invokeStatic "core.clj" 3202]
[clojure.main$eval_opt invokeStatic "main.clj" 488]
[clojure.main$eval_opt invoke "main.clj" 482]
[clojure.main$initialize invokeStatic "main.clj" 508]
[clojure.main$null_opt invokeStatic "main.clj" 542]
[clojure.main$null_opt invoke "main.clj" 539]
[clojure.main$main invokeStatic "main.clj" 664]
[clojure.main$main doInvoke "main.clj" 616]
[clojure.lang.RestFn applyTo "" 137]
[clojure.lang.Var applyTo "" 705]
[clojure.main main "" 40]]}
Execution error (NullPointerException) at (javac.clj:28).

Full report at:
Execution error (ExceptionInfo) at!$fn (alpha.clj:702).
Error building metabase/java-deps

Full report at:

Hi @Mudeng
I'm not sure what's wrong with your environment. Try using the Docker build instead or the VScode:

1 Like

I am developing with IDEA on Mac.
l have the same problem as he
Getting this error
but get the error when l tried to run ' clj -X:deps prep'Error compiling Java sources: nil


@Mudeng It looks like you've not installed Clojure correctly and set it up fully.