This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-30
Channels
- # aleph (15)
- # announcements (4)
- # aws (2)
- # bangalore-clj (7)
- # beginners (236)
- # calva (24)
- # cider (11)
- # cljs-dev (63)
- # clojure (141)
- # clojure-europe (3)
- # clojure-india (2)
- # clojure-italy (8)
- # clojure-nl (3)
- # clojure-spec (8)
- # clojure-uk (52)
- # clojured (1)
- # clojuredesign-podcast (4)
- # clojurescript (35)
- # clojutre (3)
- # community-development (1)
- # cursive (77)
- # data-science (1)
- # datomic (3)
- # emacs (13)
- # fulcro (7)
- # graalvm (78)
- # graphql (2)
- # nrepl (7)
- # off-topic (18)
- # pathom (25)
- # reagent (12)
- # reitit (31)
- # shadow-cljs (178)
- # spacemacs (7)
- # tools-deps (32)
- # xtdb (10)
- # yada (3)
i'm having a lot of trouble getting cider working with figwheel-main (latest versions of all involved packages).
here are my deps:
com.bhauman/figwheel-main {:mvn/version "0.2.3"}
com.bhauman/rebel-readline {:mvn/version "0.1.4"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
org.clojure/tools.nrepl {:mvn/version "0.2.13"}
nrepl/nrepl {:mvn/version "0.6.0"}
cider/cider-nrepl {:mvn/version "0.22.0"}
cider/piggieback {:mvn/version "0.4.1"}
Try removing that dependency to tools.nrepl
. My guess is that this should fix your problem.
@johanatan I use the figwheel-main template to create new projects and that works with CIDER without issue. Details of the deps.edn
file and other configuration files and workflow are here
http://jr0cket.co.uk/2019/08/development-workflow-with-clojure-cli-tools.html
There is also a video of creating a figwheel-main of project with the Clojure CLI tools here
https://youtu.be/uuxEYsX-1eg
Unfortunately this is also my own setup. Most of it works. But connecting from CIDER/Emacs does not.
If you want to run a deps.edn
based figwheel-main project from Emacs, then don’t forget to include the alias for cider-jack-in-cljs
if that is where you include the figwheel-main dependency
http://jr0cket.co.uk/2019/07/CIDER-jack-in-to-Clojure-CLI-projects-from-Spacemacs.html
@jr0cket since you worked on find var stuff recently, do you mind having a quick look at https://github.com/syl20bnr/spacemacs/pull/12658?
Yes, looks very useful, thanks. I will give it a try and leave a comment on the GitHub PR, helping the maintainers know it works for others. If anyone else here has used this hopefully they will do the same. Thanks again.
Unfortunately this is also my own setup. Most of it works. But connecting from CIDER/Emacs does not.