Skip to content
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

REPL server launch timed out #243

Open
Em-AK opened this issue Feb 8, 2019 · 4 comments

Comments

@Em-AK
Copy link

commented Feb 8, 2019

  • I am reporting a bug or problem in Chestnut

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 👏

@featheredtoast

This comment has been minimized.

Copy link
Collaborator

commented May 5, 2019

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

This comment has been minimized.

Copy link
Owner

commented May 6, 2019

Hi @Em-AK

Could you check the following?

  • Which version of leiningen, java, are you on? (lein version)
  • If not on the latest leiningen (2.9.1), try upgrading (lein upgrade)
  • Do you have anything in ~/.lein/profiles.clj? If so, move it out of the way and try again.
  • Which operating system are you on?
@plexus plexus referenced this issue May 6, 2019
1 of 1 task complete
@whenmoon

This comment has been minimized.

Copy link

commented Sep 4, 2019

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

This comment has been minimized.

Copy link

commented Sep 4, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.