Fork me on GitHub
#cider
<
2016-11-02
>
echristopherson19:11:54

I can't seem to make CIDER 0.14.0 run with cider-jack-in on Windows. I can run lein repl from a project and cider-connect to it, but it complains that "`CIDER's version (0.14.0) does not match cider-nrepl's version (nil). Things will break!`"

echristopherson19:11:22

I have in my .lein/profiles.clj:

{:user {}
 :repl {:plugins [[cider/cider-nrepl "0.14.0"]]}}

echristopherson19:11:55

lein repl's versions are shown as

nREPL server started on port 50500 on host 127.0.0.1 - 
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.8.0
Java HotSpot(TM) Client VM 1.8.0_51-b16

echristopherson19:11:43

the error message when I try cider-jack-in is: error in process sentinel: Could not start nREPL server: The system cannot find the path specified.

echristopherson19:11:16

Messages upon running cider-jack-in shows:

Are you sure you want to run `cider-jack-in' without a Clojure project? (y or n) y
Making nrepl-create-client-buffer-function local to *nrepl-server* while let-bound!
Making nrepl-use-this-as-repl-buffer local to *nrepl-server* while let-bound!
Starting nREPL server via "x:/Leiningen/lein.bat" update-in :dependencies conj ^"[org.clojure/tools.nrepl \^"0.2.12\^" :exclusions [org.clojure/clojure]]^" -- update-in :plugins conj ^"[cider/cider-nrepl \^"0.14.0\^"]^" -- repl :headless...
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: The system cannot find the path specified.


error in process sentinel: Could not start nREPL server: The system cannot find the path specified.


Updating buffer list...
Formats have changed, recompiling...done
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help

dpsutton19:11:14

i thought using profiles was not recommended now

dpsutton19:11:24

but also, maybe try "0.14.0-SNAPSHOT"

dpsutton19:11:49

where is your cider from?

dpsutton19:11:04

melpa or melpa-stable?

echristopherson19:11:29

Hmm. Not sure of that; but I just discovered I have my .lein in the wrong place.

echristopherson19:11:28

Yes, that fixed it.

echristopherson19:11:09

What do you mean using profiles isn't recommended? You mean using .lein/profiles.clj at all isn't recommended?

echristopherson20:11:00

I'm not sure where mine is from actually. package-list-packages shows it as:

cider is an installed package.

     Status: Installed in `x:/.emacs.d/elpa/cider-0.14.0/' (unsigned).
    Archive: n/a
    Version: 0.14.0
   Requires: emacs-24.3, clojure-mode-5.5.2, pkg-info-0.4, queue-0.1.1, spinner-1.7, seq-2.16
    Summary: Clojure Interactive Development Environment that Rocks
   Homepage: 
   Keywords: languages clojure cider 
    Other versions: 0.14.0 (melpa-stable).

Provides a Clojure IDE and REPL for Emacs, built on top of nREPL.

Installation:

Available as a package in  and .

(add-to-list 'package-archives
             '("marmalade" . ""))

or

(add-to-list 'package-archives
             '("melpa" . "") t)

M-x package-install cider

echristopherson20:11:32

I guess since melpa-stable is "other versions" it's from melpa or marmalade or something

echristopherson20:11:20

Does Archive: n/a necessarily mean melpa?

dpsutton20:11:22

yeah the .lein/profiles. I thought i remember that being used on older versions of cider

dpsutton20:11:26

not totally sure though