This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-11
Channels
- # admin-announcements (3)
- # beginners (51)
- # boot (14)
- # cider (55)
- # cljsrn (5)
- # clojure (105)
- # clojure-austin (2)
- # clojure-brasil (3)
- # clojure-dusseldorf (2)
- # clojure-greece (5)
- # clojure-italy (1)
- # clojure-mexico (1)
- # clojure-russia (74)
- # clojure-spec (66)
- # clojure-uk (22)
- # clojurescript (124)
- # cursive (10)
- # datomic (79)
- # events (2)
- # immutant (3)
- # jobs (4)
- # klipse (38)
- # leiningen (2)
- # luminus (1)
- # off-topic (25)
- # om (48)
- # om-next (36)
- # on (1)
- # onyx (19)
- # overtone (3)
- # pedestal (2)
- # proton (3)
- # re-frame (178)
- # reagent (49)
- # ring-swagger (1)
- # spacemacs (10)
- # specter (29)
- # testing (5)
- # untangled (6)
- # yada (65)
Is it possible to run clojurescript tests using cider? I’m getting ‘cider-test-run-test’ doesn’t support ClojureScript. What is the suggested way of doing this?
I never quite understood cljs repl; so these days, I try to write as much as possible in *.cljc files, and my *cljs files are just bindings to dom / reagent / re-frame
so even client side application logic is in .cljc, only client side dom interacting part is in .cljs
@qqq another advantage of using that approach is that enforces separation of rendering from state management and side effect-y fn's plus it's much easier to go isomorphic and render serverside if you need to.
@andrea.crotti this seems to be coming from refactor-nrepl rather than cider
@agile_geek: agreed completely; for reasons I can't quite explain, forcing myself to write as much cljc as possible makes the code cleaner somehow
yes @benedek but from my understanding cider takes care of installing everything itself right?
ah wait sorry you mean the emacs package version
Installed in ‘clj-refactor-20161223.1457
clj-refactor 2.3.0-SNAPSHOT (package: 20161223.1457), refactor-nrepl is unreachable
ah that's the problem
I can try to add it to .lein/profiles.clj
i would check your java version (1) and perhaps remove refactor-nrepl dir from your maven repo so it gets pulled again from clojars (2)
but it should not be necessary in theory right?
retrieving it now Retrieving refactor-nrepl/refactor-nrepl/2.3.0-SNAPSHOT/refactor-nrepl-2.3.0-20161231.143143-11.pom from clojars Retrieving refactor-nrepl/refactor-nrepl/2.3.0-SNAPSHOT/refactor-nrepl-2.3.0-20161231.143143-11.jar from clojars
but I think I had the same version also before
let's see
same problem, uhm
if I actually open the Jar file I can find the wrap-refactor function there
so the package is fine I guess
I can try to disable the refactor bit
even if I don't see an option to disbale it
java.lang.ClassNotFoundException: sun.misc.Launcher
this is the underlying problem i think...
java -version openjdk version "9-internal" OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src) OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)
actually my Java is too new?
this may be related?! https://github.com/technomancy/leiningen/issues/2149
ah yes that fixed it
didn't realize I wa so bleeding edge 'D
and the error was quite confusing
coolio! we check for too low java versions but perhaps we should check for too high as well 😉
yeah specially since the error is not really clear
@dottedmag yes it should still be in use