This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-01
Channels
- # announcements (14)
- # beginners (6)
- # biff (6)
- # calva (3)
- # cider (7)
- # clojure (79)
- # clojure-europe (5)
- # clojure-norway (9)
- # cursive (9)
- # data-science (20)
- # datomic (3)
- # fulcro (9)
- # graalvm (15)
- # integrant (2)
- # introduce-yourself (2)
- # jobs (1)
- # lsp (7)
- # malli (5)
- # off-topic (130)
- # parinfer (11)
- # pedestal (11)
- # portal (1)
- # practicalli (4)
- # releases (3)
- # remote-jobs (1)
- # ring (8)
- # ring-swagger (30)
- # shadow-cljs (9)
- # sql (10)
- # tools-deps (8)
Hey, i'm using practicalli spacemacs installation. i've developed a toy clj app and everything is working.
I'm trying cljs electron now. I'm using https://github.com/ahonn/shadow-electron-starter repo. I followed the steps, which fired up shadow-cljs in terminal then I used cider-connect-cljs which also worked without errors. but i'm not able to evaluate code in my buffers.
if i run , e e
i.e. eval-last-sexp nothing happens.
if i open repl buffer and (+ 1 2)
I get 3 as expected.
Has some one faced similar issue before, I'm new to emacs so I'm not sure where to start. Maybe it is a shadow-cljs config issue? I have to add nrepl or cider-nrepl dependencies (or something along those lines). Previously in clojure, when I moved from jack-in
to connect
I had to add middlewares manually
I'm not familiar with that starter project, but I assume you are correct in thinking nREPL is not running. Or it could be that a clj repl is running but not a cljs REPL. I always recommend reading the shadow-cljs guide in depth before doing anything with shadow-cljs https://shadow-cljs.github.io/docs/UsersGuide.html
It is surprising that connect works, so nREPL must be running somewhere, although I do not see any dependencies in that starter project.