This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-14
Channels
- # aatree (1)
- # admin-announcements (1)
- # beginners (12)
- # boot (359)
- # cljs-dev (23)
- # cljsjs (2)
- # cljsrn (1)
- # clojure (53)
- # clojure-czech (5)
- # clojure-madison (1)
- # clojure-russia (15)
- # clojured (8)
- # clojurescript (16)
- # community-development (2)
- # core-async (6)
- # cursive (19)
- # datomic (31)
- # emacs (48)
- # euroclojure (3)
- # hoplon (29)
- # microservices (7)
- # mount (46)
- # off-topic (7)
- # om (11)
- # proton (74)
- # reagent (4)
- # spacemacs (3)
@oshyshko: You have a Clojure file open, and it looks like you’re putting clojurescript code into it.
@cfleming: I've just retried with a .cljs file: the behaviour is exactly the same, I can attach to Figwheel via nRepl. After I do (cljs-repl), I can type directly into the REPL (and I see the browser executing my forms), however "Send top form to REPL" shortcut show that red error tooltip. Any ideas?
@oshyshko: There’s a dropdown in the REPL toolbar which allows you to tell Cursive that the REPL is either clj or cljs. Set that to CLJS and it should work if you’re sending forms from a .cljs file.
@cfleming How can I check that? I'm trying lein with-profile default,test repl
but when I in-ns
to my test module it's empty
@lsenta: You probably have to require
the test ns when using lein, Cursive will auto-load it for you.
I get a
SocketException The transport's socket appears to have lost its connection to the nREPL server
at the end of the tests@cfleming I've just double-checked that I am using [cljs] value for that dropbox. I am getting the red error (from my screenshot). Copy-and-pasting form directly into REPL text area works fine, sending from editor -- not working.
@cfleming could you possibly recommend me a step-by-step tutorial for setting Figwheel + Cursive + REPL, so I could follow it and figure out if I am doing anything wrong? Truth is, I discovered this problem with CLJS REPL over a year ago, it's still here and it is the only reason why I am still using La Clojure for CLJS development