Fork me on GitHub
#cider
<
2016-09-02
>
borkdude09:09:15

I just upgraded prelude and running boot 2.6.0. I’m connecting to a boot nrepl process with cider-connect. I’m getting this warning: WARNING: CIDER's version (0.14.0-snapshot) does not match cider-nrepl's version (nil). Things will break! More information.

borkdude09:09:21

where should I look to solve it

borkdude10:09:29

Adding to ~/.boot/profile.boot should solve it I guess

benedek10:09:59

what is your clojure version?

benedek10:09:40

ha, you are connecting to a boot process, not jacking in with boot!

benedek10:09:03

sorry missed that. if that is the case you need to add the appropriate cider dependencies to your profile boot

benedek10:09:11

if you jack in that is not necessary

borkdude10:09:16

clojure version is 1.8.0

benedek10:09:17

yeah, not really important here, sorry. point is: if you connect to an existing, running repl you need to edit your profile.boot if you jack in you don’t need to

dhruv114:09:37

I am using lein droid doall to build and deploy a project to my android device for APP development. I keep running into this error:

WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly
         More information.
WARNING: CIDER's version (0.13.0-snapshot) does not match cider-nrepl's version (nil). Things will break!
         More information.
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.3.0-SNAPSHOT (package: 20160621.902) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.
Here is what my profiles.clj file looks like:
{:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]
        :plugins [[cider/cider-nrepl "0.13.0"]]
        }}
Cider version: "CIDER 0.13.0snapshot (package: 20160623.12)"

dhruv114:09:55

i am not sure how to get around this, can anyone help

benedek14:09:16

how do you get your repl in emacs? do you jack-in or connect to an already running repl?

launchpad14:09:07

99% of the time i jack in

benedek14:09:33

remove the cider related stuff from your profiles.clj and try again pls

launchpad14:09:47

i don’t have any cider stuff in profiles

launchpad14:09:52

but i’m also not using boot

launchpad14:09:07

oh, you’re not talking to me lol

benedek14:09:13

yup, sorry

launchpad14:09:43

do you have any issues with the inspector?

benedek14:09:03

me? nope, trying to help to @dhruv1 😉

dhruv114:09:21

@benedek i use cider connect

launchpad14:09:24

yea lately it’s been giving me nulls 😞

dhruv114:09:57

also i am using lein droid

dhruv114:09:25

a lein plugin for building android apps

benedek14:09:49

i have not worked with lein droid tbh

benedek14:09:57

can you try to jack in tho?

benedek14:09:18

sry @launchpad not much experience with the inspector

launchpad14:09:42

you should be able to add the correct versions to your profiles that cider is expecting and connect to the repl that lein droid starts, no?

dhruv114:09:16

@launchpad yes, i should be able to. I have the correct versions (atleast i think) i think they were not being picked up. I am removing them from my profiles.clj file and directly adding it into my project.clj and see how that does

benedek14:09:38

if you jack in they are autoinjected

launchpad14:09:00

ah, yea now that i think more about it there were a few times that my profiles.clj didn’t seem to be pulling the dependencies correctly. there were issues with pulling the dependencies. one time it was that the jar didn’t exist on clojars yet and another was that my company was blocking the ssl connections

launchpad14:09:24

@benedek, i think the jack in isn’t going to give him the tasks that lein droid doall is running so he would be missing things 😕

benedek14:09:47

ah right, ok

dhruv114:09:18

at what @launchpad said. 🙂

launchpad14:09:52

maybe you can modify the lein droid task to not start the repl and you can run it and then do a jack in? not sure that will be a great solution though

dhruv114:09:12

so adding it to my project.clj file, it doesn’t build

launchpad14:09:14

(i have no idea what lein droid is doing)

dhruv114:09:27

Compiling cider.inlined-deps.fipp.v0v6v4.fipp.ednize
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: clojure.instant/thread-local-utc-date-format in this context, compiling:(cider/inlined_deps/fipp/v0v6v4/fipp/ednize.clj:58:13)
       	at clojure.lang.Compiler.analyzeSeq(Compiler.java:6740)

launchpad14:09:42

what’s your project.clj look like?

dhruv114:09:01

instead of polluting this thread, can i message it to you seperately

dhruv114:09:07

privately*