Hi, I’m seeing
{:type clojure.lang.Compiler$CompilerException,
:message
"Syntax error compiling at (/tmp/form-init6016442836112069381.clj:1:73).",
:data
{:clojure.error/phase :compile-syntax-check,
:clojure.error/line 1,
:clojure.error/column 73,
:clojure.error/source "/tmp/form-init6016442836112069381.clj"},
:at [clojure.lang.Compiler load "Compiler.java" 7648]}
{:type clojure.lang.ExceptionInfo,
:message "command lein returned non-zero: 137",
:data {:exit 137},
:at [griffin.util.sh$sh_stream_BANG_ invokeStatic "sh.clj" 67]}]
:jvm-opts ["-Dclojure.main.report=stderr"]
may help. Normally I set that in CI
in CI, but not locally. Is there a way to get lein to print that temp file, or otherwise get a better error message?
and the error is non-deterministic. Rebuilding will often fix it
@arohner not sure about actually getting ahold of the tmp file (without perhaps modifying lein source - or an option I’ve never seen)
but you can set DEBUG=true
env variable before running lein
and it could give you more info on the steps plugins/lein are doing which can sometimes give a bit more context at least
the 137 return code is “out of memory” I believe if that helps
at least it often means that it seems - not sure all the details of how that code ret standard works