This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-30
Channels
- # admin-announcements (1)
- # aws (32)
- # bangalore-clj (1)
- # beginners (2)
- # boot (137)
- # cider (2)
- # clara (1)
- # cljs-dev (39)
- # cljsrn (20)
- # clojure (268)
- # clojure-berlin (20)
- # clojure-canada (37)
- # clojure-dev (8)
- # clojure-gamedev (6)
- # clojure-norway (2)
- # clojure-russia (55)
- # clojure-spec (130)
- # clojure-uk (39)
- # clojurebridge (1)
- # clojurescript (102)
- # cursive (20)
- # datomic (231)
- # editors (5)
- # editors-rus (8)
- # events (5)
- # funcool (12)
- # hoplon (31)
- # instaparse (57)
- # jobs (9)
- # lein-figwheel (4)
- # off-topic (2)
- # om (8)
- # om-next (30)
- # onyx (241)
- # planck (6)
- # protorepl (4)
- # re-frame (115)
- # reagent (7)
- # rum (9)
- # schema (1)
- # test-check (9)
- # untangled (24)
- # yada (20)
I dont see the "Run"/"Debug" green button when i created a new project. What could I be doing wrong?
I have the following config:
(cljs-repl :ws-host "localhost"
:port 9001
:ip "0.0.0.0”)
And I try to connect in Cursive through an nREPL at port 9001 and tried both localhost and 0.0.0.0 as IP.
@vikeri 9001 is the WS server port, not nrepl port
@juhoteperi Alright, how can I get the nREPL port?
It should be printed on when starting the repl
you can set it by passing nrepl-opts
map to cljs-repl
and you can see the available options by checking repl task help
@juhoteperi: Sweet! Do you want a PR with Cursive instructions in boot-cljs-repl readme?
@vikeri Thanks
Question regarding using Cursive offline... Is it possible and expected that Cursive should work offline? When trying to open a clojure project, Cursive tries to download the standalone leiningen jar (leiningen-x.x.x-standalone.zip) from github. Since I am offline, it naturally fails out with an IOException because it can't reach github.
If I download the jar separately and copy it to a location where Cursive is looking for it, I would hope that is a workaround. However, I have no idea where Cursive is looking for the lein standalone... I do have leiningen working in the typical way outside of Cursive using the shell script with the .lein folder in my user space....
My mistake. Looks like I was running IntelliJ as a different user, and that user did not have leiningen set up. Starting IntelliJ as the proper user and everything works just fine. My apologies!
@joe.koza: For reference, Cursive will get lein from the same place as lein itself: ~/.lein/self-installs. If you want to use it offline, just make sure that you’re telling Cursive to use a version which is already downloaded in that dir (Settings->Build, Execution, Deployment->Build Tools->Leiningen->Project Settings).