This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-30
Channels
- # announcements (4)
- # babashka (3)
- # beginners (5)
- # calva (20)
- # cider (12)
- # clj-kondo (7)
- # cljs-dev (2)
- # clojure (76)
- # clojure-uk (4)
- # clojuredesign-podcast (8)
- # clojurescript (18)
- # clojutre (1)
- # cursive (9)
- # data-science (27)
- # datomic (2)
- # fulcro (32)
- # graalvm (4)
- # jackdaw (5)
- # jobs (2)
- # joker (5)
- # lumo (20)
- # off-topic (18)
- # pathom (3)
- # shadow-cljs (18)
- # sql (5)
- # tools-deps (1)
- # vim (11)
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)"
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
.