This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-12
Channels
- # aleph (1)
- # beginners (81)
- # boot (20)
- # cider (46)
- # cljs-dev (6)
- # cljsjs (6)
- # cljsrn (8)
- # clojars (2)
- # clojure (104)
- # clojure-berlin (3)
- # clojure-italy (4)
- # clojure-losangeles (2)
- # clojure-nl (16)
- # clojure-spec (16)
- # clojure-uk (28)
- # clojurescript (88)
- # core-logic (31)
- # cursive (8)
- # data-science (3)
- # datascript (1)
- # datomic (95)
- # docs (1)
- # emacs (6)
- # figwheel-main (24)
- # fulcro (106)
- # graphql (5)
- # hyperfiddle (2)
- # midje (2)
- # nrepl (1)
- # off-topic (14)
- # om-next (1)
- # parinfer (2)
- # pedestal (26)
- # portkey (2)
- # re-frame (11)
- # reagent (27)
- # ring (6)
- # rum (4)
- # shadow-cljs (33)
- # spacemacs (10)
- # specter (53)
- # tools-deps (17)
- # vim (31)
getting this now right after cider-jack-in
(no custom cider-clojure-cli-parameters
):
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps '{:deps {org.clojure/tools.nrepl {:mvn/version "0.2.13"} com.billpiel/sayid {:mvn/version "0.0.16"} refactor-nrepl {:mvn/version "2.4.0-SNAPSHOT"} cider/cider-nrepl {:mvn/version "0.18.0-SNAPSHOT"}}}' -e '(require (quote cider-nrepl.main)) (cider-nrepl.main/init ["com.billpiel.sayid.nrepl-middleware/wrap-sayid", "refactor-nrepl.middleware/wrap-refactor", "cider.nrepl/cider-middleware"])'...
[nREPL] server started on 35964
[nREPL] Establishing direct connection to localhost:35964 ...
[nREPL] Direct connection to localhost:35964 established
error in process filter: nrepl-send-sync-request: Sync nREPL request timed out (op clone id 1)
error in process filter: Sync nREPL request timed out (op clone id 1)
if I try and switch to the REPL buffer, it shows up as an empty buffer with name *cider-uninitialized-repl*
if anyone else is experiencing this, a workaround is to set cider-clojure-cli-parameters
to "-e '(require (quote cider-nrepl.main)) (cider-nrepl.main/start-nrepl {:middleware %s})'"
> right. so i believe the alias cider-current-connection
was added back so that older tooling and newer tooling had the same vocabulary
@dpsutton Ah, yeah. Now I remembered what happened - Vitalie meant to add aliases since the beginning but he forgot or something like this.
exactly. and it looks like spacemacs reacted at the very moment those things changed.
@bozhidar after pushing changes, looks like all but one test passed (CLJS test timed out)
nREPL now has an official manual http://nrepl.readthedocs.io/en/latest/ It’s still pretty much a work in progress (mostly a restructuring of the old README) and your help improving it would be appreciated! (http://nrepl.readthedocs.io/en/latest/about/contributing/#working-on-the-manual)
I'm having a very strange issue where the Cider CLJ repl doesn't load the user.clj
file
the weird thing is that it was working fine yesterday and I don't think I changed anything
lein dev
however works so leiningen actually loads that correctly
tried now with both 0.17
and 0.18-snapshot
and it's the same, not even sure it's a problem with Cider to be fair but anyone had issues loading user.clj
files?
ok checking out the project again with the asme exactly config and no untracked files works, so whatever it is is not related with Cider
I even did a couple of lein clean
but there must be still something there that made it fail
yeah when they solve themselves without apparent reason is not great, but well 😄
Yep, sorry. My fault.
I changed that in spacemacs but didn't account for people who had cider pinned to the stable version, since spacemacs defaults to the snapshot version.
I opened a PR with the fix using cider-current-connection
instead of cider-current-repl
it's already merged by the way 😳
I think I’ve seen this here befoer, but cannot remember, when doing something like cider-jack-in
can you go back and see the command that was ran (shows up briefly in minibuffer), and also can you see any output/error it resulted in?
@U077BEWNQ oh, thanks there is some stuff there!
Yeah, just confirmed. There's also *cider-error*
IIRC, for errors thrown by the REPL after it's started up. Also the nrepl-server
buffer occasionally has useful info.
Does anyone has a problem with macroexpanding with Node repl, the newest clojurescript and the newest cider?
(ns serverless-cljs-lambdas.core
(:require [cljs-lambda.macros :refer [defgateway]]))
(defgateway echo [event ctx]
{:status 200
:headers {:content-type (-> event :headers :content-type)}
:body (event :body)})
Expanding on defgateway simply returns itself.(related to question that was answered earlier for me here)
So when looking at *Messages*
buffer to see the cmd that is used for cider-jack-in
I see something like this:
Starting nREPL server via /usr/local/bin/lein update-in :dependencies conj \[org.clojure/tools.nrepl\ \"0.2.13\"\ \:exclusions\ \[org.clojure/clojure\]\] -- update-in :plugins conj \[refactor-nrepl\ \"2.4.0-SNAPSHOT\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.16.0\"\] -- repl :headless :host ::...
At the end, the repl :headless :host ::...
part, what are the ...
? Is this Emacs truncated this somehow ( I don’t see any way to tweak this), or is Cider truncating (can’t find that in cider source either0, or does the cmd actually end in ...
?hello friends, am I the only one to have this behavior with cider 0.17
(for [x (range 4)]
(println x))
=> 1
=> 2
=> 3 IN CLJ
=> 123 IN CLJS
it makes me crazy when I want to (dir 'namespace)
I am observing
(for [x (range 4)]
(println x))
0
1
2
3
(nil nil nil nil)
in both clj and cljs replsI'm on 0.17, and I'm seeing the same behavior that @baptiste-from-paris reported.
seems to be a cljs
stuff
not an cider
Funny, I don't remember that behavior from when I was on 17 before for a long time (I just switched back to 17 yesterday until 18 stabilizes).
@mikerod I think the ...
are just for dramatic effect: https://github.com/clojure-emacs/cider/blob/master/nrepl-client.el#L1043