This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-25
Channels
- # aatree (10)
- # beginners (59)
- # boot (314)
- # braveandtrue (4)
- # cider (50)
- # cljs-dev (12)
- # cljsrn (6)
- # clojure (206)
- # clojure-austin (2)
- # clojure-gamedev (90)
- # clojure-japan (1)
- # clojure-poland (12)
- # clojure-russia (10)
- # clojure-sg (1)
- # clojurescript (86)
- # core-async (2)
- # core-matrix (3)
- # cursive (40)
- # datomic (2)
- # dirac (13)
- # editors (25)
- # emacs (7)
- # hoplon (2)
- # immutant (10)
- # jobs (24)
- # jobs-discuss (1)
- # ldnclj (8)
- # lein-figwheel (19)
- # leiningen (1)
- # mount (7)
- # off-topic (34)
- # om (147)
- # onyx (11)
- # parinfer (151)
- # pedestal (2)
- # re-frame (31)
- # reagent (13)
- # ring-swagger (7)
- # spacemacs (1)
- # yada (11)
I have a clojure repl and a cljs repl, Is there a way to automatically switch the window when I eval something in a .clj
/`.cljs` file? Currently cursive just complains and I need to switch over manually.
I'm having problems with refresh lein dependencies causing all sorts of duplications and not ending up matching what I get on the command line at all...anyone seen this?
I am not sure
but I am getting something where running tests in one project’s REPL causes it to try and load user.clj from another project… 😕
probably my fault though
hm, yeah I guess it is Cursive after all
it’s the transitive loading stuff
@tony.kay: are you using checkouts?
try making sure all the deps are the same versions in all projects
they are, but the recursive deps cause two versions of cljs to come in...I've tried exclusions, but to no avail.
I just decided to drop checkouts and move the code into the external libraries as a later step...way too much of a pain to get checkouts working right.
@tony.kay: Sorry you’re having problems, there are some issues when there are two versions of cljs on the classpath for some reason, I haven’t been able to figure out why. Do you know what the two deps are that caused the two versions of cljs to come in? Then I’ll try to reproduce here to track it down.
cljs analyzer was seen as private when starting a REPL that was going to start figwheel through sidecar
Caused by: java.lang.IllegalStateException: var: #'cljs.analyzer/default-warning-handler is not public
Caused by: java.lang.IllegalStateException: var: #'cljs.analyzer/default-warning-handler is not public, compiling:(cljs/analyzer/api.clj:53:3)
Running a short clj script from clojure main: (e.g. lein run -m clojure.main script/figwheel.clj)
but there are a lot of lein dependencies listed in external dependencies that lein deps :tree
does NOT show...and a lot of dupes that should not be there. E.g. since I have cljs as a top-level dependency, no other version should get pulled in
Right, that’s very strange. I’m not sure what Cursive could be doing there, since it delegates all that stuff to lein.