plexus / chestnut

Application template for Clojure + ClojureScript web apps
Eclipse Public License 1.0
1.32k stars 99 forks source link

Repl never prompts #247

Open dchacke opened 5 years ago

dchacke commented 5 years ago

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).

featheredtoast commented 5 years ago

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

dchacke commented 5 years ago

Java version 1.8.0_111, Clojure version 1.8.0.

plexus commented 5 years ago

@weltschmerz1 some things to check:

plexus commented 5 years ago

Duplicate of #243.

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

dchacke commented 5 years ago

Upgrading from Leiningen 2.7.1 to 2.9.1 fixed it.

dchacke commented 5 years ago

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

dchacke commented 5 years ago

Has anybody had a chance to look into this?

featheredtoast commented 5 years ago

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

dchacke commented 5 years ago

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?

featheredtoast commented 5 years ago

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.

whenmoon commented 5 years ago

Was there ever a fix for this?