This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-29
Channels
- # architecture (14)
- # beginners (184)
- # boot (25)
- # cider (23)
- # clara (9)
- # cljsjs (13)
- # cljsrn (5)
- # clojure (140)
- # clojure-austria (1)
- # clojure-dev (24)
- # clojure-greece (15)
- # clojure-italy (7)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojure-sanfrancisco (10)
- # clojure-spec (39)
- # clojure-uk (28)
- # clojured (1)
- # clojurescript (26)
- # core-async (3)
- # cursive (13)
- # datomic (44)
- # docs (3)
- # emacs (31)
- # events (2)
- # figwheel (4)
- # fulcro (6)
- # graphql (2)
- # hoplon (5)
- # jobs (11)
- # juxt (4)
- # keechma (19)
- # leiningen (1)
- # off-topic (8)
- # om (8)
- # onyx (18)
- # parinfer (2)
- # re-frame (18)
- # reagent (24)
- # ring (4)
- # rum (2)
- # shadow-cljs (26)
- # sql (15)
- # timbre (6)
- # vim (2)
I keep getting dependency errors involving encore when trying to use timbre with codax(https://github.com/dscarpetti/codax) (which uses nippy 2.12.2)
(defproject test "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.9.0"]
[com.taoensso/timbre "4.10.0"]
[codax "1.2.0"]])
then tring to require
timbre leads to:
CompilerException clojure.lang.ExceptionInfo: Insufficient `com.taoensso/encore` version. You may have a Leiningen dependency conflict (see for solution). {:min-version "2.87.0", :your-version "2.68.0"}, compiling:(taoensso/timbre.clj:21:1)
However I've tried a large combination of exclusions (excluding nippy from codax and requiring my own codax, explicitly requiring encore, etc) to no avail. Anyone know what I might be missing?@jjttjj when all else fails, you can just use a managed dependency (i.e. add :managed-dependencies [com.taoensso/encore "2.87.0"]
to your project.clj)
not elegant, but tells lein something akin to "if you ever see this dependency, even transiently, just override the version with the one I tell you"
@tanzoniteblack thanks for the heads up about managed-dependencies, but i'm still getting the exact same error somehow
try running lein clean
and make sure you don't have something historical screwing things up?