This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-11
Channels
- # adventofcode (116)
- # aleph (10)
- # announcements (2)
- # beginners (67)
- # boot (3)
- # calva (17)
- # cider (8)
- # cljdoc (27)
- # cljsrn (6)
- # clojure (144)
- # clojure-austin (3)
- # clojure-boston (1)
- # clojure-dev (25)
- # clojure-europe (4)
- # clojure-italy (26)
- # clojure-losangeles (4)
- # clojure-nl (28)
- # clojure-russia (1)
- # clojure-uk (34)
- # clojurescript (130)
- # cursive (20)
- # datomic (69)
- # emacs (14)
- # figwheel-main (2)
- # fulcro (31)
- # graphql (3)
- # hyperfiddle (3)
- # jobs (1)
- # jobs-discuss (1)
- # kaocha (1)
- # leiningen (2)
- # lumo (2)
- # nrepl (1)
- # off-topic (182)
- # onyx (5)
- # re-frame (88)
- # reagent (12)
- # reitit (2)
- # ring-swagger (13)
- # shadow-cljs (136)
- # tools-deps (28)
- # vim (4)
Hey guys I am trying to start a repl from a deps.edn file. Any pointer on how to do it?
Assuming you have the clojure tools installed, just clj
oh, sorry didn’t realize we are in #cursive :)
but you need the Cursive EAP with deps support
@alexmiller np! and I have the 1.8 release of cursive.
The thing is the “run with deps” option remains unclickable when I try to make a run config.
I can create an alias in my deps.edn that will start a headless nrepl server, start that in a terminal then connect cursive via a remote repl config.
not sure that’s going to help you with running with deps
I’m sure there’s some other reason why it’s not working, but not sure what to suggest
@jeremys: I had some issues using CLI tools, can you see if it works if you select "use tools.deps directly"? It fixed things for me when I had a similar problem.
@shaun-mahood I don’t where I could select this. My project was started using lein, I don’t know if that would prevent cursive from loading the CLI tools parts. When I try to “add framework support” deps isn’t there. Now when I try to create a configuration, I can create a “Clojure App”, a”Clojure Deps” or a “CLojure REPL local/remote” one. The support seems to be in Clojure App and Clojure repl local. In these two templates there is a “run with deps” choice with a field to select aliases. However I can’t select that option, it’s greyed out.
@jeremys: As far as I understand it, you have to choose between lein and deps when importing your project - so you would need to change your project to use deps.edn and re-import it
@shaun-mahood Ok I’ll try that !
ok I re-imported my project after removing the .idea and the .iml file. I choose the deps support and I have now the option of running the repl from deps available! however I have a “Sync finish event has not been received” in the build widget of intellij, and I have an exception thrown when try to start the repl “Could not create shim”... I’ll try again later, gotta go for now. Thanks for the help.
@alexmiller Actually 1.8 is out and stable now with deps support.
my bad! Sorry…