Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

REPL server launch timed out #243

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

REPL server launch timed out #243

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

Comments

@Em-AK
Copy link

Em-AK 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
Copy link
Collaborator

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
Copy link
Owner

plexus 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 mentioned this issue May 6, 2019
1 task
@whenmoon
Copy link

whenmoon 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
Copy link

PEZ 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

gibbonsd1 pushed a commit to gibbonsd1/chestnut that referenced this issue Oct 9, 2019
Starting a REPL on a new project times out (issue plexus#243). This increases
the timeout for starting the REPL to 5 minutes.
featheredtoast pushed a commit that referenced this issue Oct 12, 2019
Starting a REPL on a new project times out (issue #243). This increases
the timeout for starting the REPL to 5 minutes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants