This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-15
Channels
- # 100-days-of-code (7)
- # beginners (58)
- # boot (1)
- # cider (12)
- # clojure (69)
- # clojure-nl (1)
- # clojure-serbia (1)
- # clojure-spec (34)
- # clojure-uk (3)
- # clojurescript (14)
- # clojutre (3)
- # core-async (1)
- # core-logic (6)
- # cursive (44)
- # datomic (1)
- # defnpodcast (1)
- # emacs (16)
- # figwheel-main (3)
- # fulcro (14)
- # immutant (3)
- # leiningen (9)
- # mount (1)
- # nrepl (19)
- # off-topic (4)
- # pedestal (2)
- # re-frame (73)
- # ring (2)
- # shadow-cljs (40)
- # tools-deps (14)
- # yada (4)
I’m trying experiment with cider+nrepl+figwheel.main using “new” deps.edn method but am not having luck. Does anyone have an example emacs config or project config that is working with nrepl 0.4.5 and figwheel.main they could point me too?
i used the following dir-locals to get it to use the correct alias:
((nil
(cider-clojure-cli-global-options . "-A:fig")))
and we have the same type of project except that i'm not using nrepl 0.4.5right now, I’m seeing
[nREPL] Starting server via /opt/local/bin/clojure -e '(require (quote cider-nrepl.main)) (cider-nrepl.main/init ["cider.nrepl/cider-middleware", "cider.piggieback/wrap-cljs-repl"])'...
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Exception in thread "main" java.io.FileNotFoundException: Could not locate cider_nrepl/main__init.class or cider_nrepl/main.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps '{:deps {org.clojure/tools.nrepl {:mvn/version "0.2.13"} cider/cider-nrepl {:mvn/version "0.18.0"}}}' -e '(require (quote cider-nrepl.main)) (cider-nrepl.main/init ["cider.nrepl/cider-middleware"])'
this is what mine looks like. I wonder why yours doesn't specify coordinates for cider-nrepl itself{:deps {org.clojure/clojure {:mvn/version "1.9.0"}}
:aliases {:fig {:extra-deps
{org.clojure/clojurescript {:mvn/version "1.10.339"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
com.bhauman/figwheel-main {:mvn/version "0.1.5"}
cider/cider-nrepl {:mvn/version "0.18.0"}
nrepl/nrepl {:mvn/version "0.4.5"}
reagent {:mvn/version "0.7.0"}}
:extra-paths ["resources" "target"]
:main-opts ["-m" "figwheel.main"]}
:build {:main-opts ["-m" "figwheel.main" "-b" "dev" "-r"]}
:min {:main-opts ["-m" "figwheel.main" "-O" "advanced" "-bo" "dev"]}}}
is the deps.edn I’m working from… I think a good portion was generated from a reagent starter template