Fork me on GitHub
#spacemacs
<
2019-07-06
>
pablore16:07:34

I getting this sayid error when doing cider-jack-in today

Error loading com.billpiel.sayid.nrepl-middleware: Syntax error compiling at (com/billpiel/sayid/util/other.clj:284:3).
Exception in thread "main" Syntax error compiling var at (/private/var/folders/q9/7v8dcy694bj2mc9cykfm8gn00000gn/T/form-init14833350831488686507.clj:1:10311).

practicalli-john17:07:09

If you are not using Sayid for debugging your entire project, then I suggest removing it as it is known to cause issues. Cider has its own debugger for instrumenting specific functions.

practicalli-john17:07:03

If you are using Sayid and are using the develop branch of Spacemacs, then Sayid is now disabled by default, so if you upgraded Spacemacs recently then you could try enable Sayid again https://practicalli.github.io/spacemacs/install-spacemacs/enhance-clojure-experience.html

pablore16:07:12

Caused by: java.lang.RuntimeException: Unable to resolve var: com.billpiel.sayid.nrepl-middleware/wrap-sayid in this context
	at clojure.lang.Util.runtimeException(Util.java:221)
	at clojure.lang.Compiler$TheVarExpr$Parser.parse(Compiler.java:720)
	at clojure.lang.Compiler.analyzeSeq(Compiler.java:7106)
	... 35 more
Subprocess failed

eggsyntax16:07:38

Smells to me like a dependency version conflict. Are you adding a Sayid dependency in your project or your personal profile? IIRC a Sayid dependency is included as part of CIDER now. That’s a guess, though. Otherwise I’d run through the standard set of steps -- - move your ~/.lein/profiles.clj out of the way if you’re using lein. - try it on a fresh project - update spacemacs & libraries