This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-08
Channels
- # announcements (2)
- # asami (2)
- # babashka (7)
- # beginners (59)
- # cider (12)
- # cljdoc (1)
- # cljs-dev (18)
- # clojure (23)
- # clojure-europe (15)
- # clojure-losangeles (1)
- # clojure-nl (2)
- # clojure-uk (5)
- # clojured (16)
- # clojurescript (22)
- # core-typed (8)
- # cursive (3)
- # datomic (24)
- # events (2)
- # fulcro (4)
- # gratitude (1)
- # helix (13)
- # hoplon (18)
- # integrant (2)
- # introduce-yourself (1)
- # jobs-discuss (1)
- # joyride (5)
- # minecraft (1)
- # off-topic (76)
- # pathom (18)
- # podcasts (8)
- # polylith (11)
- # remote-jobs (4)
- # rewrite-clj (22)
- # sci (4)
- # shadow-cljs (152)
- # sql (4)
- # tools-build (26)
- # tools-deps (34)
Damn, I broke something, again. Now I can't jack-in:
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Picked up JAVA_TOOL_OPTIONS: -Dapple.awt.UIElement=true
Jun 07, 2022 8:27:48 PM org.eclipse.jetty.util.log.JettyAwareLogger log
INFO: Logging initialized @3501ms to org.eclipse.jetty.util.log.Slf4jLog
Unexpected error (NoSuchFieldError) macroexpanding if-ns at (cider/piggieback.clj:22:1).
UNNECESSARY_ESCAPE
on CIDER 1.5.0-snapshot (package: 1.5.0-snapshot)
it starts like this:
[nREPL] Starting server via /usr/local/bin/clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version "0.9.0"} cider/cider-nrepl {:mvn/version "0.28.4"} refactor-nrepl/refactor-nrepl {:mvn/version "3.5.2"}} :aliases {:cider/nrepl {:main-opts ["-m" "nrepl.cmdline" "--middleware" "[shadow.cljs.devtools.server.nrepl/middleware,refactor-nrepl.middleware/wrap-refactor,cider.nrepl/cider-middleware]"]}}}' -M:shadow-cljs:dev:test:cider/nrepl
but fails, anyone has a clue?from the stacktrace alone it looks like a dependency conflict of some java dep, piggieback expects version x and shadow-cljs causes y to be resolved instead
could you determine the exact cause and then create an issue in https://github.com/nrepl/piggieback ?
Easiest fix would be to mranderson
ize some deps in that project. Although @U051BLM8F is less keen on that sort of solution lately.
And no direct ties to shadow-cljs (it doesn't use piggieback directly, it simply emulates its API)
Using the cider-inspector with a repl I connected to with cider-connect
gives me always an error like:
Inspector error for: ./validation/exportOpinions.csv.gz [10762 39]:
yes, thanks. I was hoping somebody has seen it and has a solution.
It happens on "all" vars but only if I do cider-connect
towards a already running repl.
Code evaluations works as usual.
I solved it. I was missing the cider-nrepl middleware in my setup.
Just curious, what command did you use to start the server without cider-nrepl middleware installed?
The error message can probably be improved - I thought that it's missing a call to cider-ensure-op-supported
but actually the inspector middleware taps directly into the eval
op
I Just had repl/repl
in the deps.edn. So this starts nrepl server and emacs connects to it.
(but prints a warning on missing cider-nrepl, which I ignored ...)
clojure -m nrepl.cmdline
starts then sucessfully a nrepl server.