Open bpringe opened 2 months ago
Hey, thanks for reporting. I'm aware of this. I just haven't gotten around to fixing it.
I'm not sure what the best way to fix it is. I removed the the clojurescript dependency from the clojure project because I was having some issues with dependency conflicts due to libraries being pulled by clojurescript.
someone suggested that I separate snitch into 2 jars, one for clojure and one for clojurescript. I'm not too keen on doing that.
do you think there's any other way?
Hmm. I haven't looked into the issue, but can you exclude the dependencies being pulled in by ClojureScript that cause an issue, using Lein's method of doing that in the project.clj?
That error looks like you're trying to use an alias for that require which already aliases something else. Could you alias it as something other than ana
or run (ns-unalias *ns* 'ana)
right before (require '[cljs.analyzer :as ana])
in that try
?
If I add version 0.1.15 of snitch to a project (shadow-cljs using deps.edn for dependency resolution), and add a require in an ns form like
[snitch.core :refer [defn*]]
, when I run the shadow-cljs build it fails with this error:If I go back to snitch version 0.1.14, the build succeeds.