practicalli

Nik 2024-04-01T10:58:43.898749Z

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

Nik 2024-04-06T04:29:54.770979Z

ok

practicalli-johnny 2024-04-01T11:43:53.263209Z

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

practicalli-johnny 2024-04-01T11:45:37.840349Z

It is surprising that connect works, so nREPL must be running somewhere, although I do not see any dependencies in that starter project.