This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-08
Channels
- # aleph (1)
- # architecture (4)
- # aws (5)
- # beginners (105)
- # boot (1)
- # boot-dev (72)
- # cider (5)
- # clara (15)
- # cljs-dev (51)
- # cljsrn (5)
- # clojure (155)
- # clojure-austin (3)
- # clojure-dusseldorf (2)
- # clojure-finland (1)
- # clojure-greece (37)
- # clojure-italy (17)
- # clojure-nl (1)
- # clojure-russia (6)
- # clojure-spec (23)
- # clojure-uk (6)
- # clojurescript (7)
- # community-development (1)
- # css (10)
- # cursive (15)
- # datomic (45)
- # defnpodcast (1)
- # duct (97)
- # emacs (5)
- # fulcro (46)
- # hoplon (8)
- # instaparse (25)
- # keechma (11)
- # leiningen (16)
- # off-topic (2)
- # onyx (9)
- # planck (2)
- # re-frame (5)
- # reagent (3)
- # reitit (2)
- # ring (6)
- # shadow-cljs (35)
- # spacemacs (9)
- # specter (9)
- # sql (18)
- # uncomplicate (4)
getting REPL server launch timed out
from lein repl
invocations on a ubuntu workstation. This just recently started happening (as in I got back from Christmas vacations and it worked before). The timeout takes more or less exactly a minute
what does lein repl :headless
do?
$> export DEBUG=true
$> lein repl :headless
Leiningen's classpath: /home/mbjarland/.lein/self-installs/leiningen-2.8.1-standalone.jar
Applying task repl to [:headless]
nREPL server started on port 33111 on host 127.0.0.1 -
<hangs>
and then lein repl connect
from another shell while that's running?
(the nREPL server started...
line is what I was looking for, and the "hanging" there is expected)
success:
$> lein repl :connect 33111
Connecting to nREPL at 127.0.0.1:33111
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.8.0
Java HotSpot(TM) 64-Bit Server VM 1.7.0_80-b15
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=>
where does lein pull the java version...the 1.7.0 in the above is a tad unexpected. Both JAVA_HOME and java -version
point at a 1.8 jvm
and apologies for the lack of fu on lein repl :headless
, didn't know you could do that
ok after reboot the issue is magically gone. No idea what the deal was. Thanks for the help in troubleshooting!
is there a way to change a project's dependency's version via the command line? i've got an internal shared library and a few projects that use that library. I'd like to run the client projects' tests on our CI server every time we release the shared library so I know I've got some tests to fix sooner rather than later.
something like lein update-in :dependencies conj [...]
might work
alternately, lein install
the library to a fixed snapshot version and have a separate profile in the other projects that reference the snapshot