This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-19
Channels
- # adventofcode (1)
- # announcements (3)
- # babashka (60)
- # beginners (60)
- # calva (5)
- # clj-commons (17)
- # clj-kondo (33)
- # clj-on-windows (1)
- # clojure (40)
- # clojure-austin (3)
- # clojure-europe (19)
- # clojure-gamedev (25)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-sweden (4)
- # clojure-uk (2)
- # clojurescript (27)
- # conjure (1)
- # core-async (1)
- # core-typed (7)
- # cursive (5)
- # datomic (35)
- # events (1)
- # fulcro (35)
- # integrant (7)
- # introduce-yourself (2)
- # kaocha (5)
- # leiningen (2)
- # lsp (26)
- # malli (13)
- # nbb (99)
- # off-topic (15)
- # pathom (12)
- # pedestal (5)
- # polylith (8)
- # portal (4)
- # rdf (19)
- # reagent (8)
- # reitit (5)
- # releases (2)
- # remote-jobs (2)
- # rewrite-clj (1)
- # shadow-cljs (94)
- # testing (2)
- # timbre (2)
- # tools-deps (16)
Hi! I'm very excited about polylith, and after refactoring a side project to use it, we have decided to switch our main project to it. It's an online system using Datomic Ions and Integrant on the back-end and re-frame on the front-end.
What I did was put the entire monorepo we have in one base, and created a project for launching back-end. So far I can start the REPL, but everything breaks before initializing. I used a user.clj file for initiating a dev local system, and one of the first things it does was:
(cast/initialize-redirect :stdout)
(cast/dev {::msg "init-cast"})
But even that throws an error:
Execution error (StackOverflowError) at cider.nrepl.middleware.out/print-stream$fn (out.clj:142).
Can you please point me at the right direction?
totally wild guess, because I don't know what cast/ is, but it looks like some part of print out errors is throwing an exception, and then that exception is attempted to be printed, and that throws, and on and on until a stackoverflow
so maybe you actually have two errors, 1. some badly behaved cider (tooling) stuff that is looping forever trying to print errors and then getting a stackoverflow, and 2. whatever throws the initial error that causes cider to go into a loop
the cider error print loop might be https://github.com/clojure-emacs/cider-nrepl/issues/716
Thank you @U0NCTKEV8 It does look that it's a cider error, will try digging into this some more.
@U0NCTKEV8 you were right, I loaded this user.clj file through terminal repl and everything works. Thank you!
It also works in Emacs via nrepl server, but without cider middleware