plexus / chestnut

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

REPL server launch timed out #243

Open Em-AK opened 5 years ago

Em-AK commented 5 years ago

I generated an app from the template to try it for the first time.

lein new chestnut demochest +garden +re-frame +http-kit

With the default timeout the REPL is not able to start. First attempt:

$ lein repl
Retrieving ...
[... lots of retrieving ...]
REPL server launch timed out.

Any following attempts:

$ lein repl
REPL server launch timed out.

It only started properly after I modified the timeout to something bigger

:repl-options {:init-ns user
               :timeout 300000} ;; extend timeout to 5min

This is the only painpoint I have to report form my first use of the template. This one appart I am very happy about how these fine technologies are assembled in the template :clap:

featheredtoast commented 5 years ago

Thanks for the report, and the feedback!

I'm not 100% sure how to reproduce this as a repl on my side seems to come up OK, but I think this came up again, so any help in listing reproduction steps would be good to have.

plexus commented 5 years ago

Hi @Em-AK

Could you check the following?

whenmoon commented 5 years ago

I have the same problem. I am on Java version 1.8.0_211-b12 and lein version 2.9.1, I don't have a file called profiles.clj and on os x 10.14.5.

I used to be able to quit the terminal and try again and it would work, but then I would get the error:

Syntax error compiling at (REPL:1:1). Unable to resolve symbol: go in this context

When typing (go), so have never been able to get Chestnut to work.

PEZ commented 5 years ago

The REPL does take a very long time to load for me as well. Also on OS X Mojave. Using Java 12.0.2-open. How long it takes can be witnessed in a video I recorded and posted on ClojureVerse:

https://clojureverse.org/t/unable-to-resolve-symbol-go-in-this-context/4777/4