shadow-cljs

Matt Ielusic 2025-04-04T21:10:19.168599Z

Hello, I need some help I’m working with this legacy shadow-cljs project that uses Pathom & pathom-viz, I can’t get shadow-cljs release to compile it It runs into a strange error when it’s processing Pathom’s core:

% shadow-cljs release standalone
shadow-cljs - config: <path>/shadow-cljs.edn
shadow-cljs - starting via "clojure"
[:standalone] Compiling ...
------ ERROR -------------------------------------------------------------------
 File: jar:file:<path>/.m2/repository/com/wsscode/pathom/2.4.0/pathom-2.4.0.jar!/com/wsscode/pathom/core.cljc
failed to require macro-ns "com.wsscode.pathom.core", it was required by "com.wsscode.pathom.core"
Syntax error macroexpanding clojure.core.async/go.
No such var: async
{:form async/onto-chan!, :file "com/wsscode/pathom/core.cljc", :column 13, :line 568}
ExceptionInfo: No such var: async
   ...giant stack trace...
What might be going on here?

Matt Ielusic 2025-04-04T21:33:47.830219Z

So I took a closer look at the https://shadow-cljs.github.io/docs/UsersGuide.html#_troubleshooting and discovered I was using an incompatible clojure async version I added a org.clojure/core.async {:mvn/version "1.5.648"} line to my deps.edn & it fixed the problem

👍 1