This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-02
Channels
- # announcements (2)
- # beginners (32)
- # boot (10)
- # calva (81)
- # cider (39)
- # clojure (56)
- # clojure-europe (8)
- # clojure-italy (7)
- # clojure-new-zealand (1)
- # clojure-nl (8)
- # clojure-poland (1)
- # clojure-spec (12)
- # clojure-uk (38)
- # clojurescript (5)
- # community-development (1)
- # core-async (55)
- # cursive (3)
- # datomic (44)
- # dirac (15)
- # emacs (20)
- # events (1)
- # fulcro (57)
- # hyperfiddle (2)
- # jobs (9)
- # juxt (9)
- # kaocha (1)
- # lein-figwheel (1)
- # off-topic (93)
- # pathom (2)
- # pedestal (3)
- # planck (3)
- # reitit (15)
- # ring (10)
- # shadow-cljs (25)
- # spacemacs (7)
- # sql (19)
- # tools-deps (8)
(assoc {} :name “@gr.evocatus”}
(-> {} (assoc :name @gr.evocatus”))
[@a.pittendrigh, @gr.evocatus] I can do something like
Oh, I see now, thank you. Those paragraphs in the docs looked identical to me - I missed that one says "second" and the other says "last"
I don't know what I've managed to do to my project.clj file, but my produced uberjar no longer contains compiled clojurescript. Any idea what to look for?
@c09mld pm me your project.clj and i'll have a look 🙂
I've previously gotten Emacs + Cider + regular Clojure (not cljs) all up and running for my 1st ever Clojure project. I went with Emacs since I had some experience with it 25 years ago. Anyhow, I got the jist of REPL development.
Now I'm trying Clojurescript, to implement the client-side of my little learning project. FWIW I'm trying the "Learn Reagent Free" course at https://www.jacekschae.com (free plug). WELL...
I'm having trouble getting the REPL going in this setup. The online course supplies the basic config files, so most of what I have was provided. Here's my shadow-cljs.edn:
the only modification here from the file provided by the online course is the addition of the cider-nrepl dependency
your best bet here is #cider - it's a package with a lot of features and complexity, and the things that go wrong with it don't generalize to other stuff
Using the npm run dev
command, it spins up shadow-cljs and starts up nREPL on port 3333.
I run cider-connect
and give localhost / 3333, and emacs/Cider connects to the REPL. GREAT. The problem (or my confusion) starts here:
doing any sort of "eval" of any forms, buffers, or anything in Emacs seems to just... do... nothing.
I can enter expresions in the REPL buffer (+ 3 4)
yields 7, so the REPL is there. But it doesn't seem "connected" to any of my .cljs files or anything.
Another point: when I was just doing Clojure, I used cider-jack-in
to start the REPL. With this shadow-cljs it seemed I had to use cider-connect
; perhaps this line of thinking is wrong & is the problem?
When I try to do cider-jack-in
, Emacs gives the error The npx shadow-cljs executable isn't on your 'exec-path'
Thanks @U051SS2EU I'll try that channel.
the only modification here from the file provided by the online course is the addition of the cider-nrepl dependency