Fork me on GitHub
#cider
<
2018-01-06
>
stardiviner05:01:25

When I use command cider-profile-toggle. Got error:

user-error: ‘cider-profile-toggle’ requires the nREPL op "toggle-profile".  Please, install (or update) cider-nrepl 0.17.0-SNAPSHOT and restart CIDER
How to check out my current cider-nrepl version? (I thought CIDER handle those dependencies version to latest by itself.)

stardiviner05:01:59

I found variable cider-jack-in-lein-plugins. Its value is (("cider/cider-nrepl" "0.17.0-SNAPSHOT")). Then why cider-profile reports this error?

dpsutton07:01:00

@stardiviner what version is your CIDER? CIDER should default to using a cider-nrepl that matches it's own version. I'm not sure how plugins will work with that if they differ

stardiviner07:01:00

@dpsutton 0.17.0-snapshot

dpsutton07:01:27

i don't see a cider function by that name at all

bozhidar09:01:43

@dpsutton it’s from this outdated package https://github.com/thunknyc/nrepl-profile

bozhidar09:01:49

@jmayaalv is working to update and integrate this in CIDER itself.

bozhidar09:01:34

@stardiviner - you’re getting this error because you installed only the Elisp package, without the matching middleware.

stardiviner09:01:12

@jmayaalv Thanks, @bozhidar I see, I will add middleware and try again. Thanks too.