-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start nREPL within a lein project #88
Comments
This PR should help debug what's going on - #92 |
I've updated #92 to stop the |
@youwithouto the PR mentioned above was merged and after you update to the latest version you'll be able to see nREPL errors in the nREPL output channel. Could you please try it out and share the results with us? |
I updated avli.clojure to v0.9.6, and created a new project with The error message below were shown in the output box, when I ran
|
@youwithouto it seems like the issue you've come upon is actually this one. Could you please try to connect to nREPL manually as described here. The manual connection does not involve Another thought that comes to my mind is we most likely don't use the |
@avli Thanks for the instruction. The extension works well when I start an lein repl process and start the connection manually. The only glitch is that the |
@youwithouto I've disabled About this glitch – not sure if it has something to do with the extension but I'll check it out. |
@avli Everything works well now. Thanks! Should I close this issue now or when you've figured out the reason of the glitch? |
Let's close it now for the glitch looks like a different issue. |
I have a brand new project created with:
lein new app hello
, but when I open the project with VS Code, it cannot connect to the REPL server.The status is always "Starting nREPL...".
I've also tried to start the nREPL manually, but I experienced Issue 68.
Running
lein repl
from the project dir will start an REPL with the correct config given in theproject.clj
file.It works fine with non-lein projects. The nREPL will connect smoothly when I start VS Code in a project that is not initialised with lein.
Specs:
Leiningen 2.8.1 on Java 9.0.1 Java HotSpot(TM) 64-Bit Server VM
The text was updated successfully, but these errors were encountered: