This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aleph (1)
- # announcements (9)
- # babashka (3)
- # beginners (200)
- # calva (22)
- # cider (74)
- # clojure (97)
- # clojure-dev (43)
- # clojure-europe (15)
- # clojure-italy (4)
- # clojure-nl (4)
- # clojure-sanfrancisco (2)
- # clojure-uk (103)
- # clojuredesign-podcast (2)
- # clojurescript (45)
- # core-async (5)
- # cursive (13)
- # datomic (42)
- # emacs (20)
- # fulcro (6)
- # graalvm (37)
- # jackdaw (10)
- # leiningen (7)
- # mid-cities-meetup (3)
- # off-topic (2)
- # pathom (1)
- # pedestal (3)
- # re-frame (6)
- # reagent (38)
- # reitit (5)
- # shadow-cljs (117)
- # spacemacs (1)
- # sql (1)
- # tools-deps (17)
- # vim (14)
- # xtdb (18)
Wow, I wonder what the difference is for me? When I type
node lib.js it exits 0 in 155 milliseconds.
rm lib.js and make sure its a fresh compilation output. when in dev mode shadow makes sure it stays open. just as if you jacked into core.match. its a library but repls are forever
Things have stopped working again. Now when I try to connect the cljs nrepl I get an
Assert failed: (keyword? repl-env)
lib.js and recreated it (`npm run build`), and still
node lib.js terminates immediately.
(Context reminder, I am a Clojure developer totally new to the ClojureScript world with only rare brief exposure to
npm et. al.)
rm lib.js, go to emacs
cider-jack-in-cljs and then when it says its done compiling
it should present a list of avialable builds. make sure to type
:lib rather than just
lib if it doesn't
Use a prefix Arg to jack in and you can edit the command and just take out the middleware
OK, I had disabled clj-refactor and it was still injecting refactor-nrepl. Trying with arg.
Same deal; as soon as I choose node as the repl type it crashes with that assertion error.
Anyway, this has used up all the time I was hoping to spend developing tonight, so I guess I will try to just limp along with no REPL connection. It feels so paralyzing though!
Strangely, I still get a warning about clj-refactor and refactor-nrepl being out of sync despite editing that out of the command.
But you’re right the things I was trying for are working. Thanks so much for your help!
sup! I wonder if there's a way to ask cider to eval an expresion on the repl w/o opening, like
M-: for elisp
M-: asks for an input expression on the bottom of the screen . Like:
so, if I'm editing, say, an XML file that is source of a process, I cannot trigger cider eval
(I’m not saying you should have found it this way, just thanking @U051BLM8F for how far things have come.)
is that correct this ->
c:/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.exe" -encodedCommand YwBsAG8Aag.... ?
oh. deps.edn doesn't officially support windows. i think someone has taken time to work on windows but i can't help you at all there
I have a fulcro/pathom server + db in a cheap little FreeBSD Jail somewhere far away and a furcro app for a few users. I can be jacked into my development environment with shadow-cljs + deps.edn and at the same time have a second sesman session via ssh -L with a jump host to the production server with a live repl into production from the same code. And all of that just works!!! You guys are wonderful!!! Thank you for all your work!!!
sounds interesting. would be great if you can share all what you have successfully done with a post or some guide.