This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-30
Channels
- # announcements (5)
- # beginners (90)
- # cider (15)
- # clara (1)
- # clj-kondo (2)
- # cljs-dev (17)
- # clojars (8)
- # clojure (132)
- # clojure-europe (14)
- # clojure-nl (5)
- # clojure-uk (57)
- # clojurescript (39)
- # code-reviews (44)
- # conjure (6)
- # core-async (6)
- # cursive (20)
- # data-science (1)
- # datomic (13)
- # fulcro (11)
- # graalvm (6)
- # graphql (6)
- # helix (10)
- # joker (2)
- # kaocha (37)
- # leiningen (24)
- # malli (15)
- # off-topic (13)
- # pathom (18)
- # pedestal (14)
- # re-frame (67)
- # reitit (5)
- # ring (13)
- # ring-swagger (4)
- # sci (41)
- # shadow-cljs (33)
- # slack-help (5)
- # spacemacs (1)
- # sql (34)
- # tools-deps (64)
- # vim (171)
- # xtdb (3)
ERROR: Unhandled REPL handler exception processing message {:nrepl.middleware.print/stream? 1, :nrepl.middleware.print/print cider.nrepl.pprint/pprint, :nrepl.middleware.print/quota 1048576, :nrepl.middleware.print/buffer-size 4096, :nrepl.middleware.print/options {:right-margin 70}, :op init-debugger, :session e83ad834-3874-48b1-afe7-be93cac01ca7, :id 6} java.lang.ClassNotFoundException: com.sun.javadoc.ClassDoc, compiling:(cider/nrepl/inlined_deps/orchard/v0v5v10/orchard/java/legacy_parser.clj:1:1)
I don’t think we changed anything in that part of the code recently. Seems like some built-in JDK class is missing, but I have no idea why that started happening for you after a CIDER update.
Obviously com.sun.javadoc.ClassDoc is present, within tools.jar.... starting lein repl in a separated process and then cider-connect there are no exceptions thrown....
tryed to cider jack-in in a deps.edn project and it works fine.... so the problem seems restricted to lein projects...
Guys, I've been using cider
forever, but I feel like I haven't learned anything new about it in a long time. Can I ask for some guidance with cider-connect-clj&cljs
? My setup is ... I have a JVM instance which I usually connect to with cider-connect
... but I also have a shadow-cljs instance (for my cljs builds), and I've never ever used a cljs repl via cider
. Is it possible to connect this way to two separate processes (ie, one via the JVM and one via shadow-cljs) ?
https://docs.cider.mx/cider/cljs/shadow-cljs.html may be of interest to you.
I'm trying to use Cider with Clojurescript, but none of the interactions are working. I'm getting a "No cljs REPLs in the current session" message, though the REPL itself is working just fine. Does anyone have any insight? I'm using Shadow-CLJS connected to a browser.
Figured out it's not connect the session to my buffers automatically.
that happens to me before I have loaded the page that includes the compiled cljs in my browser
before that, the REPL is considered a clojure one. once you load the code and figwheel (or similar) connects, the REPL becomes a cljs one and cider will know to use that for cljs interactions. HTH!
Hmm, that hasn't been happening for me. I don't know why. At least I know how to deal with it, for now.
oh, maybe that's because I'm serving my page at a different port than figwheel expects. I guess I could set :open-url or something, but it no longer bothers me once I've found out the cause
@nsaritzky i suggest you to use a .dir-locals.el
at your project directory where it contains all the options you need to open a new repl with shadow.