This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-03
Channels
- # boot-dev (1)
- # cider (27)
- # cljsjs (6)
- # cljsrn (11)
- # clojure (249)
- # clojure-dusseldorf (1)
- # clojure-finland (1)
- # clojure-greece (1)
- # clojure-italy (28)
- # clojure-nl (12)
- # clojure-russia (2)
- # clojure-spec (5)
- # clojure-uk (27)
- # clojurescript (24)
- # clojutre (2)
- # component (8)
- # cryogen (1)
- # cursive (7)
- # datomic (61)
- # editors (18)
- # emacs (1)
- # events (1)
- # figwheel (4)
- # fulcro (35)
- # graphql (4)
- # jobs (3)
- # jobs-rus (1)
- # keechma (1)
- # leiningen (1)
- # london-clojurians (1)
- # luminus (62)
- # off-topic (154)
- # onyx (23)
- # pedestal (43)
- # portkey (66)
- # re-frame (49)
- # reagent (23)
- # shadow-cljs (92)
- # tools-deps (113)
- # uncomplicate (2)
I have a CLJ/CLJS project which does use figwheel; I've updated to the cider
cut of piggieback
. And yet, when I try to jack in to a CLJS repl, I always get ClojureScript is not available
.
...aha:
Set up Figwheel as normal, but make sure :cljsbuild and :figwheel settings are in the root of your Leiningen project definition.
mm don't think I had that issue @gastove
you could try to do a cider-jack-in-clojure
and then evaluate the commands to start figwheel in the CLJ repl
see if that works first
you can set cider-check-cljs-repl-requirements
to nil and see if it works without the check
someone recently needed to do this. i think it may java 9 or java 10 thing. i'm not remembering exactly. but it will at least let your app succeed or fail on its own merits
So CIDER simply checks that the libraries required by the various REPLs are on the classpath.
clojurescript
is a requirement for all REPLs, piggieback for everything except shadow-cljs, etc.
I think I've got all the requirements set properly, but possibly my installed version of cider is behind?
Huh, yep. Setting cider-check-cljs-repl-requirements
to nil
and then jacking in appears to be working; I don't have the time right now to actually do any development, but my Figwheel repl is up and running, connected to the browswer, and seems to be evaluating CLJS in a perfectly civil manner.
As soon as I can find the time, I'll try to dig in, see what specifically cider-library-present-p
is failing on.
$ find ~/.m2 -name "clojurescript*.jar"
/home/rdonaldson/.m2/repository/org/clojure/clojurescript/1.10.238/clojurescript-1.10.238.jar
/home/rdonaldson/.m2/repository/org/clojure/clojurescript/1.10.191/clojurescript-1.10.191.jar
/home/rdonaldson/.m2/repository/org/clojure/clojurescript/1.10.126/clojurescript-1.10.126.jar