Fork me on GitHub
#datomic
<
2019-11-30
>
Jacob O'Bryant04:11:02

Could org.clojure/tools.reader on ions be bumped up to, say, version 1.3.2? (It's on 1.0.0-beta4 currently). I'm trying to deploy a fulcro app, but I'm getting this error:

$ clj -Sdeps '{:deps
               {org.clojure/tools.reader {:mvn/version "1.0.0-beta4"}
                com.fulcrologic/fulcro {:mvn/version "3.0.10"}}}' \
      -e "(require 'taoensso.timbre)"
Syntax error (IllegalAccessError) compiling at (clojure/tools/reader/edn.clj:1:1).
reader-error does not exist
It's the same error discussed at https://github.com/ptaoussanis/timbre/issues/263. Alternatively, does anyone know how to fix this without changing the tools.reader version? I've tried messing around to no avail. Unfortunately I don't really understand what's causing the error in the first place. Interestingly, it works if I omit fulcro but still require the same versions of timbre and encore:
$ clj -Sdeps '{:deps
               {org.clojure/tools.reader #:mvn{:version "1.0.0-beta4"}
                com.taoensso/timbre {:mvn/version "4.10.0"}
                com.taoensso/encore {:mvn/version "2.115.0"}}}' \
      -e "(require 'taoensso.timbre)"

Jacob O'Bryant22:11:07

update: I forgot about AOT-compiled jars. The problem was that fulcro depends on clojurescript, which includes tools.reader. adding :exclusions [org.clojure/clojurescript] to fulcro seems to have fixed it. It also fixed a problem with transit-clj , though for that I also had to fork fulcro and remove a call to cognitect.transit/write-meta.