Closed ibawt closed 9 years ago
I can't reproduce the error you have when following the steps you supply. Usually this is due to plugins or dependencies in your ~/.lein/profiles.clj
file that are conflicting with Duct in some way.
Could you post your Leiningen and Java versions, along with any global plugins or dependencies you happen to be using?
:plugins [[cider/cider-nrepl "0.10.0-SNAPSHOT"]
[lein-ancient "0.6.5"]
[jonase/eastwood "0.2.1"]
[lein-kibit "0.1.2"]
[refactor-nrepl "2.0.0-SNAPSHOT"]]
:dependencies [[pjstadig/humane-test-output "0.7.0"]
[org.clojure/tools.nrepl "0.2.11"]
[org.clojure/tools.namespace "0.2.11"]]
:injections [(use 'clojure.stacktrace)
(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]}}
Your problem is your (use 'clojure.stacktrace)
injection. Both clojure.stacktrace
and clojure.repl
have a function called root-cause
, so you can't refer to both in the same namespace. That's why it's failing for you.
ok thx
solution
remove the require or namespace etc.
replication steps