lynaghk / cljx

Write a portable codebase targeting Clojure/ClojureScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cljx not running

JulianBirch opened this issue · comments

I think I've followed the instructions in the readme correctly, but when I run lein cljx once, I get the following error:

Exception in thread "main" java.lang.RuntimeException: Unable to resolve symbol: match in this context, compiling:(cljx/rules.clj:18)

Do you have any ideas?

Is your project.clj public somewhere? That implies that a release was shipped containing a basic programming flaw; I'm assuming that's not the case, since this is the first mention, so I'm hoping there's another explanation.

It is now: https://github.com/JulianBirch/ring-codec

I'm betting on PEBKAC. :)

Ah, I'm quite sure core.match (which cljx uses) requires something more modern than 1.3.0. It needs 1.5.0 or higher IIRC (travelling at the moment, can't easily check the repo).

Updating to 1.5.1 fixes the problem. Thankyou.