Does this error look familiar to anyone? It looks like upgrading my clojurescript dependency to 1.10.339 from 1.10.312 causes a crash when starting my project under Figwheel and Cider:
user> Figwheel: Starting server at <http://0.0.0.0:3449>
Figwheel: Watching build - app
Figwheel: Cleaning build - app
Compiling build :app to "target/cljsbuild/public/js/app.js" from ["src/cljs" "src/cljc" "env/dev/cljs"]...
Failed to compile build :app from ["src/cljs" "src/cljc" "env/dev/cljs"] in 1.389 seconds.
---- Exception ----
com.cognitect.transit.TransitFactory.writer(Lcom/cognitect/transit/TransitFactory$Format;Ljava/io/OutputStream;Ljava/util/Map;Lcom/cognitect/transit/WriteHandler;Ljava/util/function/Function;)Lcom/cognitect/transit/Writer;
---- Exception Stack Trace ----
java.lang.NoSuchMethodError: com.cognitect.transit.TransitFactory.writer(Lcom/cognitect/transit/TransitFactory$Format;Ljava/io/OutputStream;Ljava/util/Map;Lcom/cognitect/transit/WriteHandler;Ljava/util/function/Function;)Lcom/cognitect/transit/Writer;
at cognitect.transit$writer.invokeStatic (transit.clj:157)
cognitect.transit$writer.invoke (transit.clj:139)
Never mind, known problem answered by @mfikes on about a week ago on the clojurescript channel:
"PSA: If you get a NoSuchMethodError
regarding Transit when using the recently-released ClojureScript 1.10.339, it is solvable by updating transit-clj
to 0.8.309 (or by letting ClojureScript transitively define the version)"