Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

ArityException when starting with "-- --http-kit --om-tools" options #9

Closed
aeberts opened this issue Sep 28, 2014 · 1 comment
Closed

Comments

@aeberts
Copy link

aeberts commented Sep 28, 2014

This could be an error in my config somewhere as this seemed to be working earlier in the day but starting a new project with the --http-kit and --om-tools options throws an error:

➜  clojurescript  lein new chestnut foo -- --http-kit --om-tools
clojure.lang.ArityException: Wrong number of args (3) passed to: chestnut/chestnut
 at clojure.lang.AFn.throwArity (AFn.java:429)
    clojure.lang.AFn.invoke (AFn.java:40)
    clojure.lang.Var.invoke (Var.java:388)
    clojure.lang.AFn.applyToHelper (AFn.java:160)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.core$apply.invoke (core.clj:626)
    leiningen.new$create.doInvoke (new.clj:73)
    clojure.lang.RestFn.applyTo (RestFn.java:142)
    clojure.core$apply.invoke (core.clj:628)
    leiningen.new$new.doInvoke (new.clj:189)
    clojure.lang.RestFn.invoke (RestFn.java:516)
    clojure.lang.Var.invoke (Var.java:409)
    clojure.lang.AFn.applyToHelper (AFn.java:178)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.core$apply.invoke (core.clj:626)
    leiningen.core.main$partial_task$fn__6071.doInvoke (main.clj:253)
    clojure.lang.RestFn.applyTo (RestFn.java:139)
    clojure.lang.AFunction$1.doInvoke (AFunction.java:29)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    clojure.core$apply.invoke (core.clj:626)
    leiningen.core.main$apply_task.invoke (main.clj:303)
    leiningen.core.main$resolve_and_apply.invoke (main.clj:309)
    leiningen.core.main$_main$fn__6136.invoke (main.clj:377)
    leiningen.core.main$_main.doInvoke (main.clj:366)
    clojure.lang.RestFn.invoke (RestFn.java:512)
    clojure.lang.Var.invoke (Var.java:409)
    clojure.lang.AFn.applyToHelper (AFn.java:178)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.core$apply.invoke (core.clj:624)
    clojure.main$main_opt.invoke (main.clj:315)
    clojure.main$main.doInvoke (main.clj:420)
    clojure.lang.RestFn.invoke (RestFn.java:619)
    clojure.lang.Var.invoke (Var.java:430)
    clojure.lang.AFn.applyToHelper (AFn.java:195)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.main.main (main.java:37)
@aeberts
Copy link
Author

aeberts commented Sep 28, 2014

Solved: configuration issue - I had the old version of chestnut in my ~/.m2/repository

Deleted the ~/.m2/repository/chestnut directory and error went away. Closing.

@aeberts aeberts closed this as completed Sep 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant