This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-06
Channels
- # announcements (12)
- # babashka (34)
- # beginners (85)
- # calva (76)
- # cider (14)
- # clj-kondo (49)
- # cljs-dev (32)
- # clojure (418)
- # clojure-europe (3)
- # clojure-france (4)
- # clojure-italy (17)
- # clojure-losangeles (8)
- # clojure-nl (5)
- # clojure-norway (2)
- # clojure-spec (2)
- # clojure-uk (88)
- # clojuredesign-podcast (4)
- # clojurescript (49)
- # clojurex (75)
- # clr (2)
- # core-async (13)
- # cursive (6)
- # datomic (57)
- # duct (31)
- # emacs (6)
- # fulcro (25)
- # graalvm (67)
- # graphql (13)
- # hoplon (1)
- # java (6)
- # juxt (11)
- # kaocha (5)
- # keechma (2)
- # leiningen (16)
- # mount (1)
- # off-topic (19)
- # pathom (2)
- # pedestal (1)
- # re-frame (11)
- # reagent (21)
- # reitit (22)
- # rewrite-clj (1)
- # shadow-cljs (98)
- # spacemacs (5)
- # sql (16)
- # tools-deps (8)
- # vim (28)
- # xtdb (4)
seeing some strange behavior with lein trampoline
. It seems that it downloads 3 versions of nrepl and then fails
[dan@fedora queue]$ rm -rf ~/.m2/repository/nrepl/
[dan@fedora queue]$ lein --version
Leiningen 2.9.1 on Java 1.8.0_232 OpenJDK 64-Bit Server VM
[dan@fedora queue]$ lein trampoline repl
Retrieving nrepl/nrepl/0.6.0/nrepl-0.6.0.pom from clojars
Retrieving nrepl/nrepl/0.4.5/nrepl-0.4.5.pom from clojars
Retrieving nrepl/bencode/1.0.0/bencode-1.0.0.pom from clojars
Retrieving nrepl/drawbridge/0.1.0/drawbridge-0.1.0.pom from clojars
Retrieving nrepl/nrepl/0.4.0/nrepl-0.4.0.pom from clojars
Retrieving nrepl/nrepl/0.6.0/nrepl-0.6.0.jar from clojars
Retrieving nrepl/drawbridge/0.1.0/drawbridge-0.1.0.jar from clojars
ClassCastException java.lang.String cannot be cast to java.lang.Number
nrepl.server/start-server/addr--1161 (server.clj:120)
nrepl.server/start-server (server.clj:128)
nrepl.server/start-server (server.clj:96)
I have some tests failing in a docker container running in CircleCI. It fails with "Tests failed." and nothing else except the logs from my code. I don't get any test summary or anything. My tests are working locally and also work when I run "lein test" after sshing into the circleci container. Any idea why I don't have a test summary? There is nothing that indicates failure in my logs. I just get "Tests failed." with "Exited with code 1"
Looks like it was running out of memory
Nah. It just gives me "Tests failed"
-Xmx768m
fixed it right up
what code/lib does lein check
actually run? is it cljfmt?
there different things
@drewverlee it’s basically running a clojure.core/compile
on all clj ns’s in the configured source and (maybe) resource paths I believe.
whats the end result? to see if your code compiles?
But without lein check
you may not even attempt to compile all your ns’s - eg if not rests for some file or something & you are not doing AOT
I believe lein check
enables something like (set! *warn-on-reflection* true)
even for namespaces that do not contain that expression.