kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
zane 2019-09-06T17:21:35.027500Z

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.

zane 2019-09-08T20:39:41.030700Z

@plexus Sure thing.

zane 2019-09-08T20:48:27.030900Z

@plexus Same issue, seemingly.

zane 2019-09-08T20:48:34.031100Z

zane 2019-09-08T21:08:31.031500Z

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

zane 2019-09-10T15:24:41.053200Z

@plexus Correction: This was user error! @lee 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! ❤️

lread 2019-09-10T15:28:48.056Z

Congrats! Glad you are up and running!

zane 2019-09-10T17:45:51.056200Z

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

lread 2019-09-10T17:51:16.056400Z

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

1
zane 2019-09-10T18:00:02.056700Z

The benefits of learning in public.

lread 2019-09-10T19:09:03.056900Z

Yup!

plexus 2019-09-11T07:54:09.057500Z

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

1
zane 2019-09-11T14:42:20.066400Z

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

zane 2019-09-06T17:22:17.027600Z

Enabling --no-capture-output shows this.

zane 2019-09-06T17:22:35.028Z

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

zane 2019-09-06T17:27:42.028200Z

Browser seems to work fine.

lread 2019-09-06T21:02:50.028800Z

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

lread 2019-09-06T21:05:22.029600Z

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

zane 2019-09-06T21:42:54.030200Z

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