This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-11
Channels
- # announcements (1)
- # beginners (84)
- # boot (325)
- # cbus (1)
- # cider (13)
- # cljs-dev (1)
- # cljsjs (1)
- # cljsrn (15)
- # clojars (8)
- # clojure (221)
- # clojure-czech (2)
- # clojure-ireland (8)
- # clojure-madison (28)
- # clojure-poland (176)
- # clojure-russia (111)
- # clojurebridge (7)
- # clojurescript (75)
- # community-development (70)
- # conf-proposals (19)
- # core-async (29)
- # css (12)
- # cursive (66)
- # datavis (15)
- # datomic (61)
- # devcards (15)
- # dirac (2)
- # editors (13)
- # emacs (9)
- # funcool (7)
- # hoplon (13)
- # jobs-discuss (5)
- # ldnclj (39)
- # ldnproclodo (1)
- # lein-figwheel (3)
- # leiningen (21)
- # liberator (26)
- # off-topic (12)
- # om (153)
- # onyx (168)
- # parinfer (165)
- # proton (21)
- # quil (5)
- # re-frame (58)
- # reagent (4)
- # ring-swagger (12)
- # spacemacs (3)
- # yada (120)
hello! if anyone from here can help, I have a strange issue, repl is not available for test profile ..
> lein with-profile test repl
Warning: no nREPL dependency detected.
Be sure to include org.clojure/tools.nrepl in :dependencies of your profile.
Error loading clojure.tools.nrepl.server: Could not locate clojure/tools/nrepl/server__init.class or clojure/tools/nrepl/server.clj on classpath:
Error loading complete.core: Could not locate complete/core__init.class or complete/core.clj on classpath:
my deps are pretty simple
:dependencies [
[org.clojure/clojure "1.6.0"]
[ring/ring-core "1.4.0"]
[environ "1.0.2"]
[clj-http "2.0.0"]
[org.clojure/data.json "0.2.6”]]
; …
:profiles {
:dev {
:dependencies [[midje "1.8.3" :exclusions [potemkin clj-time]]]
:plugins [[lein-midje "3.2"]]
}
}
and this is normal? I updated some libs and removed lein-git-deps, and only since then, repl is not there for test profile
I can’t attest to ‘normal’ but that’s what the error is saying. I’ve kept a profiles.clj
for a long time, though.
{:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]
:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]
[refactor-nrepl "2.0.0”]]}
I see, although in my case this works
lein with-profile test,base repl
nREPL server started on port 55182 on host 127.0.0.1 -
REPL-y 0.3.7, nREPL 0.2.12
@andrei: @akiva: you can also use with-profile +test
so the others are not ignored. See https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md#activating-profiles for more info