Fork me on GitHub
#kaocha
<
2019-09-06
>
zane17:09:35

I'm returning to a project that uses kaocha-cljs and am getting the following error:

Exception: clojure.lang.ExceptionInfo: Kaocha ClojureScript client failed connecting back.
Does anyone have advice for debugging this error? More detail in-thread.

zane17:09:17

Enabling --no-capture-output shows this.

zane17:09:35

It only appears to happen with cljs.repl.node/repl-env.

zane17:09:42

Browser seems to work fine.

lread21:09:50

@U050CT4HR, this is a shot in the dark, but are you running the latest clojurescript? https://clojure.atlassian.net/browse/CLJS-3043#icft=CLJS-3043

zane21:09:54

@UE21H2HHD I appreciate the shot! I'm on 1.10.520, yeah.

plexus05:09:44

@U050CT4HR can you try running latest master?

zane20:09:27

@U07FP7QJ0 Same issue, seemingly.

zane21:09:31

I bumped the version of ws but that didn't seem to help. could find any other outdated dependencies.

zane15:09:41

@U07FP7QJ0 Correction: This was user error! @UE21H2HHD was correct. There was an outdated version of cljs being pulled in via an alias that I missed. :man-facepalming::skin-tone-2: Using the latest version of kaocha-cljs works fine. Sorry for the trouble, and thanks for your work on Kaocha! ❤️

lread15:09:48

Congrats! Glad you are up and running!

zane17:09:51

Thanks. I'm not sure how this broke in the first place. I had been using Kaocha happily for a while.

lread17:09:16

I’m sure you are not the only one hitting this problem and your question and answer will help others in the future.

4
zane18:09:02

The benefits of learning in public.

plexus07:09:09

@U050CT4HR that's useful info though, something people can check for when they run into this error

4
zane14:09:20

To be clear: Using the latest release version works fine. No need to be on HEAD.

lread21:09:22

For those with an interest, I added a little more to the “tweaking colors” git issue: https://github.com/lambdaisland/deep-diff/issues/14#issuecomment-528997557