question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nREPL starting forever

See original GitHub issue

Hi!

I have Leiningen 2.7.1 on Java 1.8.0_151 installed on Windows 10. It works from both cmd and Powershell. REPL also starts nicely in Cursive (IDEA plugin).

But when I open my leiningen project folder in VS Code with this extension - I see “Starting nREPL…” forever. There is nothing in console or terminal. There are no lein or java processes. IDEA is closed.

VS Code and plugin are the latest stable versions.

How do I debug further?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
robert914commented, Jan 11, 2018

I can confirm, Clojure 1.9.0 does not work with this. Mine was hanging as well, and I switched my project back to Clojure 1.8.0, and the nREPL starts now. FWIW.

Extension needs to be upgraded to use at least [cider/cider-nrepl “0.15.1”] for Clojure 1.9.0 to work. It currently is using [cider/cider-nrepl “0.15.0-SNAPSHOT”].

Interesting, I added [cider/cider-nrepl “0.16.0”] to my :user profile :plugins list, and now the nREPL will start. It must be overriding the one that this extension is trying to load from the command-line:

“lein update-in :dependencies conj [org.clojure/tools.nrepl “0.2.12” :exclusions [org.clojure/clojure]] – update-in :dependencies conj [cljfmt “0.5.7”] – update-in :plugins conj [refactor-nrepl “2.3.0-SNAPSHOT”] – update-in :plugins conj [cider/cider-nrepl “0.15.0-SNAPSHOT”] – repl”

1reaction
avlicommented, Jan 15, 2018

The new version that updates the dependencies was released. Please check if it fixes the issue for you, guys.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does nREPL server shut down when idle?
The nREPL server is happy to stay connected forever, and so is Calva. ... You could try to start nRepl yourself with the...
Read more >
M-x cider-jack-in, nrepl won't start
M-x cider-jack-in keeps starting server forever, but not really starting. How to integrate Emacs development to this Clojure project? Hot ...
Read more >
nREPL Server
There are many ways to start an nREPL server. Most often you'd start it using some build tool, but you can also embed...
Read more >
A Working nrepl-ritz Setup?
"error in process sentinel: Could not start nREPL server: 'ritz-nrepl' is not a task. ... Otherwise, it will hang forever (unless I kill...
Read more >
Reveal: Read Eval Visualize Loop for Clojure
For residents and citizens of Ukraine Reveal Pro is free forever — use “PUTINKHUILO” promocode during checkout. Try it out. To try Reveal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found