chestnut icon indicating copy to clipboard operation
chestnut copied to clipboard

Repl never prompts

Open dchacke opened this issue 5 years ago • 11 comments

  • [x] I am reporting a bug or problem in Chestnut

I create a new project and then try to launch the repl:

➜ lein new chestnut frontend-two --snapshot +reagent
Generating fresh Chestnut project.
README.md contains instructions to get you started.
➜ cd frontend-two 
➜ lein repl
2019-05-05 01:11:36.976:INFO::main: Logging initialized @2180ms to org.eclipse.jetty.util.log.StdErrLog
[WARNING] No nREPL middleware descriptor in metadata of #'cider.piggieback/wrap-cljs-repl, see clojure.tools.middleware/set-descriptor!
nREPL server started on port 60606 on host 127.0.0.1 - nrepl://127.0.0.1:60606

It says that the repl server has started, but I never actually get a prompt. My terminal just keeps waiting (I gave up after a few minutes).

dchacke avatar May 05 '19 08:05 dchacke

Trying to reproduce this - What version(s) of clojure+java is this on?

featheredtoast avatar May 05 '19 16:05 featheredtoast

Java version 1.8.0_111, Clojure version 1.8.0.

dchacke avatar May 05 '19 19:05 dchacke

@weltschmerz1 some things to check:

  • is your leiningen the latest version (lein upgrade)?
  • do you have anything in ~/.lein/profiles.clj that could be interfering? (mv ~/.lein/profiles.clj ~/lein/profiles.clj.backup)

plexus avatar May 06 '19 08:05 plexus

Duplicate of #243.

@weltschmerz1 could you also check your current version of leiningen before upgrading (lein version), and tell us your operating system?

plexus avatar May 06 '19 08:05 plexus

Upgrading from Leiningen 2.7.1 to 2.9.1 fixed it.

dchacke avatar May 06 '19 08:05 dchacke

I'm afraid I can now reproduce this again. Leiningen 2.9.1, Java 1.8.0_111, Clojure 1.10.0.

dchacke avatar Jun 28 '19 20:06 dchacke

Has anybody had a chance to look into this?

dchacke avatar Jul 03 '19 19:07 dchacke

Not yet - will look into it soon. Was it the new Clojure version that triggered it this time?

featheredtoast avatar Jul 04 '19 19:07 featheredtoast

I'm trying it out - I changed the Clojure version in project.clj to 1.8.0 to see if that fixes it, but it doesn't. But that could be because I don't know how to properly downgrade.

Does the project need to be created using Clojure 1.8.0? Or should changing it in project.clj after creation do the trick?

dchacke avatar Jul 04 '19 20:07 dchacke

I don't believe either makes a difference - Clojure version change might be a red herring, but I'll see if I can reproduce it under the same environment.

featheredtoast avatar Jul 08 '19 18:07 featheredtoast

Was there ever a fix for this?

whenmoon avatar Sep 04 '19 11:09 whenmoon