Closed twashing closed 10 years ago
Hi Timothy,
This is probably a Lein dependency conflict, see: https://github.com/ptaoussanis/timbre/issues/53
But do let me know if that doesn't help! Cheers :-)
Right, ok. So having a project dependency on [com.taoensso/encore "0.9.6"]
fixed the error. But timbre (at least github version) already has a dependency on [com.taoensso/encore "0.9.8"]
. So it seems a bit tangled. But timbre's a great tool all the same.
Thanks
Hey Timothy,
This'd be caused due to a Leiningen dependency conflict (i.e. another dependency of yours is requesting an earlier version of encore
). You can determine the culprit with lein :deps tree
.
In any case, you can work around the trouble by brining in a project-level dependency as you've done (that'll override any lower-level dependencies).
tl;dr: dependency resolution is complicated - sometimes Leiningen cannot know what to do to resolve a conflict automatically.
Happy you've got it solved :-) Cheers!
Using
[com.taoensso/timbre "3.1.6"]
(from clojars as of Fri Mar 14 22:48:34 PDT 2014), running(require '[taoensso.timbre :as timbre])
gives me the below error (expanded with pst).