Fork me on GitHub
#cider
<
2018-03-11
>
achikin18:03:14

Can I quickly start a new cider repl, not related to any project?

achikin18:03:31

Let's say I've opened an empty emacs, switched to scratch buffer and now I want to sketch some clojure.

dpsutton18:03:14

cider-allow-jack-in-without-project is default to warn. should be fine

wusticality20:03:53

morning from new zealand all 🙂

pauld23:03:13

I'm getting a really strange error when I upgraded to clojurescript 1.10.126 from 1.10.64. It only happens via cider and not lein repl or lein run.

pauld23:03:58

I can fix it by making an explicit dependency on clojure.tools.reader "1.2.2" (instead of the "1.3.0-alpha3) that gets called in by the clojurescript dependency.

xiongtx08:03:46

That's strange. Both cljs 1.10.64 and 1.10.126 use tools.reader 1.3.0-alpha3: - https://github.com/clojure/clojurescript/blob/r1.10.64/project.clj#L15 - https://github.com/clojure/clojurescript/blob/r1.10.126/project.clj#L15 I'd guess some lib of yours doesn't play nice w/ tools.reader 1.3.0-alpha3. Something changed the classpath (perhaps you reordered your deps?) such that the newer version of tools.reader is now manifesting itself.

pauld23:03:42

Does cider depend use an internal version of clojure.tools.reader that somehow conflicts with one specified in project.clj?

pauld23:03:35

error in process sentinel: Could not start nREPL server: Exception in thread "main" java.lang.ExceptionInInitializerError at clojure.main.<clinit>(main.java:20) Caused by: java.lang.IllegalAccessError: reader-error does not exist, compiling:(clojure/tools/reader/edn.clj:1:1)

pauld23:03:34

This is just clojure "jack-in" nothing to do with clojurescript compilation. It seems weird that clojurescript can break cider.

pauld23:03:10

I'm using cider-nrepl "0.17.0-SNAPSHOT".