This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-02
Channels
- # bangalore-clj (1)
- # beginners (5)
- # cider (24)
- # clara (2)
- # cljs-dev (6)
- # cljsrn (2)
- # clojure (10)
- # clojure-austin (2)
- # clojure-serbia (1)
- # clojure-spec (6)
- # clojure-uk (6)
- # clojurescript (59)
- # cursive (1)
- # datomic (10)
- # emacs (3)
- # events (7)
- # graphql (1)
- # jobs (2)
- # lein-figwheel (9)
- # off-topic (40)
- # pedestal (5)
- # portkey (2)
- # re-frame (5)
- # reagent (20)
- # shadow-cljs (7)
- # spacemacs (4)
- # specter (19)
- # testing (21)
@richiardiandrea No, that’s the form which converts the Clojure REPL to a ClojureScript REPL.
It’s a function simply, because it prompts the user about the form - init forms for common REPLs are supplied by default.
Uhm, ok will explore more
I’ll take a look when I can. No one had reported any issues with this for quite a while after the initial rework, so I’m puzzled how this has resurfaced.
I'm thinking about coming back to Emacs and CIDER after a few years with Atom/ProtoREPL. On the Mac, I have 26.1, fresh install, and I added the latest cider and clojure-mode packages, opened up a file in a deps.edn
project and C-c M-j
jacks in just fine via clj
. Very nice!
On my Windows box, I'm using WSL and Ubuntu, and a fresh install of Emacs 24.5.1 with the same cider and clojure-mode. When I jack in there, it tries to start the clj
REPL but never seems to connect. When I look in the nrepl buffer, I see it's defaulted to the IPv6 address of 0:0:0:0:0:0:0:0 and it says I'm connected but cider-mode doesn't enable and if I toggle it, it says it is not connected.
So... is IPv6 supported? Is there a way to force it to IPv4?
If I start the clj
REPL in a terminal window, I see
sean@Windows10VM:~/clojure$ clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.18.0-SNAPSHOT"} }}' -e '(require (quote cider-nrepl.main)) (cider-nrepl.main/init ["cider.nrepl/cider-middleware"])'
nREPL server started on port 52802 on host 0:0:0:0:0:0:0:0 - nrepl://0:0:0:0:0:0:0:0:52802
So I don't get a prompt...Hmm, OK, that's the same as on the Mac... Where C-c M-c
does work to connect to a terminal-initiated nREPL server.
I'm trying to get cider working with shadow-cljs. I (setq cider-default-cljs-repl 'shadow)
then tried to cider-jack-in-clojurescript
but keep getting The clojure executable isn’t on your ‘exec-path’
I'm on windows so don't have access to the CLI tools, but I assume this shouldn't be needed anyway and I just am missing some piece of config?
(I can start shadow in a command line and then connect to nrepl, it's just the jack-in i can't get working)
@jjttjj I imagine that cider is trying to start a repl via clojure
and then use the started repl to auto-activate shadow.