Fork me on GitHub
#cider
<
2016-05-28
>
grzm02:05:05

Hi! It's been a while since I used cider. I'm getting the following error when trying to eval a buffer (via C-c C-k) (with some context, from \Messages\):

[nREPL] Direct connection established
Connected.  Express Yourself. -Madonna
Loading /Users/grzm/dev/vbarch/src/vbarch/core.clj...
=> nil
error in process filter: Wrong type argument: number-or-marker-p, nil [2 times]
Here's the environment.
;; Connected to nREPL server - 
;; CIDER 0.13.0snapshot (package: 20160524.714), nREPL 0.2.12
;; Clojure 1.7.0, Java 1.8.0_45
* Emacs 24.5
* Leiningen 2.6.1 on Java 1.8.0_45 Java HotSpot(TM) 64-Bit Server VM I get the same error when eval'ing the last sexp (`C-x C-e`). I'm not seeing any errors when I run cider-jack-in. I can run other commands in the repl just fine. Any ideas what's going on? What I might have misconfigured?

malabarba02:05:51

@grzm: upgrade your Clojure-mode package.

grzm02:05:47

@malabarba: thanks! how would I have known to do this?

malabarba06:05:47

@grzm it should have been updated in the first place. :-) Not sure how you managed to upgrade cider without pulling in a recent clojure-mode.

malabarba06:05:10

Package.el should have ensured that

bhauman20:05:48

Hmmmm how do I attach an open .cljs file to an existing ClojureScript nREPL session.