Fork me on GitHub
#emacs
<
2019-04-02
>
Risetto14:04:53

I'm getting this error when I run cider-connect-cljs: ‘autopair-newline’ requires the nREPL op "classpath" (provided by cider-nrepl)

Risetto14:04:23

Anyone know how I can fix this?

dpsutton14:04:19

i think bbatsov fixed this recently

Risetto14:04:54

The repl warns about this once opened: WARNING: CIDER requires nREPL 0.4.4 (or newer) to work properly -- but I made sure to require the 0.6.0 version in my project.clj

dpsutton14:04:59

it was similar error but unrelated

dpsutton14:04:13

which version of lein are you on? You'll need lein 2.9.0+

dpsutton14:04:25

oh interesting

dpsutton14:04:53

check to see if any of your deps use tools.nrepl?

Risetto14:04:08

I run it with this: lein trampoline with-profile more-figwheel figwheel app test and then I would like to connect to it with cider

Risetto14:04:34

I'll check!

Risetto14:04:15

I ran lein deps :tree and couldn't find it there, so probably not right?

dpsutton15:04:41

try lein deps :plugin-tree

dpsutton15:04:44

i think that's the arg

Risetto15:04:24

still nothing...

Risetto15:04:30

Also this is my .lein/profiles.clj

Risetto15:04:39

{:user {:plugins [[cider/cider-nrepl "0.21.1"]]
        :dependencies [[nrepl "0.6.0"]
                       [pjstadig/humane-test-output "0.8.3"]]
        :injections [(require 'pjstadig.humane-test-output)
                     (pjstadig.humane-test-output/activate!)]}}

Risetto15:04:51

Which should ensure I get a later nrepl version right?

bozhidar17:04:08

@olle142 Only if you Lein is 2.8.2 or newer. On older versions you can’t override tools.nrepl with nrepl 0.6.