Error when start nREPL on new lein project
See original GitHub issueVisual Studio Code
Version: 1.43.1 (user setup) Commit: fe22a9645b44368865c0ba92e2fb881ff1afce94 Date: 2020-03-18T07:01:20.184Z Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Windows_NT x64 10.0.18362
Steps to reproduce:
lein new app app-name
cd app-name
code .
shows Starting nREPL… and then after 10 secs crashes (nREPL exited with code 1) and shows stacktrace in Output & Console.
Shows the errors
Error loading cider.nrepl: Syntax error compiling at (cider/nrepl.clj:1:1).
Unable to resolve var: cider.nrepl/wrap-apropos in this context
If i start VSCode in a folder with just one standalone clojure file, they works
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Troubleshooting - nREPL
Contents. Middleware; Warnings when Starting nREPL; Leiningen; The REPL Task Crashes; Boot; The REPL Task Crashes; nREPL Configuration Files are Ignored.
Read more >cider-nrepl error when running project - Stack Overflow
clj Cider run fine, but M-., cider-jump-to-var function not work. update. i created new minimal lein app: $lein deps :tree [clojure-complete " ...
Read more >Introduction to Leiningen for Clojure - Baeldung
Leiningen is a modern build system for our Clojure projects. It's also written and configured entirely in Clojure.
Read more >CIDER jack-in to Clojure CLI projects from Spacemacs
The same error was seen when looking at the output in the *messages* buffer, ( SPC b m ). Starting new CIDER session...
Read more >Troubleshooting :: CIDER Docs
REPL not starting. Make sure that your CIDER version matches your cider-nrepl version. Check the contents of the *Messages* buffer for CIDER-related errors....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Having the exact same problem as lucasteles,
Leiningen 2.9.3 on Java 13.0.2 Java HotSpot(TM) 64-Bit Server VM. I can start the nrepl from the command line by typinglein repl, but in VSCode theStarting nREPL...icon appears and after a moment I get an error notificationnREPL exited with code 1.Output panel logs :
EDIT : Downgrading the version of cider-nrepl has solved the issue for me. It was previously in 0.25-alpha, and I downgraded it to 0.22 by adding
:plugins [[cider/cider-nrepl "0.22.1"]to my project.clj file.Which Leiningen version do you use? It seems to be the same issue as https://github.com/clojure-emacs/cider-nrepl/issues/608.