Fork me on GitHub
#cider
<
2020-04-26
>
vigilancetech05:04:45

why am I getting this:

WARNING: CIDER requires cider-nrepl to be fully functional. Some features will not be available without it!
         More information.WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.5.0 and n/a, respectively.
when I have [cider/cider-nrepl "0.25.0-alpha1"] in my dependencies?

Ahmed Hassan07:04:32

cider-nrepl needs to be on classpath

Ahmed Hassan07:04:03

how are you inlcuding cider-nrepl ?

Ahmed Hassan07:04:40

WARNING: CIDER 0.24.0-snapshot requires cider-nrepl 0.23.0-SNAPSHOT, but you're currently using cider-nrepl 0.25.0-alpha1. The version mismatch might break some functionality!
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.5.0-SNAPSHOT and n/a, respectively.
I'm getting similar errors on Doom Emacs.

bozhidar08:04:46

Warnings. 🙂 How exactly did you start CIDER? Looking at the warnings they imply you started nREPL outside using newer cider-nrepl than the one your client expects.

bozhidar08:04:06

@U2BL1A092 I’m assuming you didn’t use cider-jack-in, right?

Ahmed Hassan08:04:40

@U051BLM8F I used cider-connect-cljs wth shadow-cljs

bozhidar08:04:41

Well, then just upgrade your CIDER snapshot and the first warning will disappear. You can remove clj-refactor if you don’t need it and the second warning will disappear as well, otherwise you’ll have to add its middleware as well.

vigilancetech08:04:48

hmmm.. my problem appears to have gone away. Not sure exactly what I did. I was using connect. Haven't been able to get jack-in running yet.

Ahmed Hassan07:04:40

WARNING: CIDER 0.24.0-snapshot requires cider-nrepl 0.23.0-SNAPSHOT, but you're currently using cider-nrepl 0.25.0-alpha1. The version mismatch might break some functionality!
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.5.0-SNAPSHOT and n/a, respectively.
I'm getting similar errors on Doom Emacs.

Drew Verlee17:04:20

I want to programmatically start a Cider connections created via" jack in" and "connect to clj/cljs". Where would I look to learn how to do this? My goal is to make it easier to switch between different setups, each typically with two projects/repls needed. E.g a frontend and backend. I'm reading through https://docs.cider.mx/cider/usage/managing_connections.html Currently.

Drew Verlee17:04:12

This is probably exactly what I need to mimic. I'll give this a try. Thanks a lot.

cider 4