Fork me on GitHub
#cider
<
2019-10-25
>
asrail13:10:18

Hi all, I have a shared project which requires nrepl 0.5.3. When using cider-jack-in for this project, it fails with: Error loading cider.nrepl: java.lang.RuntimeException: No such var: misc/requiring-resolve, compiling:(nrepl/middleware/print.clj:180:21) and Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: cider.nrepl/wrap-apropos in this context, compiling:(/tmp/form-init5496667179235205609.clj:1:8006) Emacs version: 26.1 (Debian) Cider version: 0.22.0-snapshot (from MELPA 20190821.1002) I was able to fix the issues by removing the nREPL from the project.clj. The project starts up a nREPL server in some cases, that's why it is part of the project.clj. Is there anything I can do to avoid removing the nrepl from the deps locally? This could lead to an issue where it works locally because cider injects nrepl 0.6.0, but the project would be invalid because there would be no repl available for the remote system in the case I sync the modified version somewhere else.

bozhidar14:10:03

@caiotiago Recent CIDER versions require nREPL 0.6. Is it a problem to just upgrade the project dep? I’m pretty sure bumping the dep can’t cause any issues for the project itself.

asrail14:10:51

@bozhidar I will ask my team to update the deps, thanks.