clojure.lang.ExceptionInfo: Wrong number of args (-1) passed to: spec/res at line 1 <cljs repl> {:file "<cljs repl>", :line 1, :column 14, :root-source-info {:source-type :fragment, :source-form (s/def :cljs.user/all (s/merge (s/keys :opt-un [:cljs.user/a1]) (s/keys :opt-un [:cljs.user/a2])))}, :tag :cljs/analysis-error}

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by David Nolen, 10 months ago
Wrong number of args (-1) passed to: spec/res at line 1 <cljs repl> {:file "<cljs repl>", :line 1, :column 14, :root-source-info {:source-type :fragment, :source-form (s/def :cljs.user/all (s/merge (s/keys :opt-un [:cljs.user/a1]) (s/keys :opt-un [:cljs.user/a2])))}, :tag :cljs/analysis-error}
via Google Groups by David Nolen, 1 year ago
Wrong number of args (-1) passed to: spec/res at line 1 <cljs repl> {:file "<cljs repl>", :line 1, :column 14, :root-source-info {:source-type :fragment, :source-form (s/def :cljs.user/all (s/merge (s/keys :opt-un [:cljs.user/a1]) (s/keys :opt-un [:cljs.user/a2])))}, :tag :cljs/analysis-error}
via GitHub by alex-dixon
, 6 months ago
Call to clojure.core/refer-clojure did not conform to spec: In: [2] val: (quote :as) fails at: [:args :exclude :op :spec] predicate: #{:exclude} In: [2 1] val: :as fails at: [:args :exclude :op :quoted-spec :spec] predicate: #{:exclude} In: [2] val
via GitHub by leontalbot
, 1 month ago
Call to clojure.core/refer-clojure did not conform to spec: In: [2 1] val: :as fails at: [:args :exclude :op :quoted-spec :spec] predicate: #{:exclude} In: [2 1] val: :as fails at: [:args :only :op :quoted-spec :spec] predicate: #{:only} In: [2 1
via GitHub by kidpollo
, 11 months ago
Call to clojure.core/ns did not conform to spec: In: [1] val: ((require [hara.reflect.common :refer :all] [hara.reflect.pretty.primitives :refer :all])) fails at: [:args] predicate: (cat :docstring (? string?) :attr-map (? map?) :clauses
via Stack Overflow by user2517182
, 5 months ago
Invalid :refer, macro cljs.pprint/deftype does not exist in file examples/hello/out/cljs/pprint.cljs {:tag :cljs/analysis-error}
clojure.lang.ExceptionInfo: Wrong number of args (-1) passed to: spec/res at line 1 <cljs repl> {:file "<cljs repl>", :line 1, :column 14, :root-source-info {:source-type :fragment, :source-form (s/def :cljs.user/all (s/merge (s/keys :opt-un [:cljs.user/a1]) (s/keys :opt-un [:cljs.user/a2])))}, :tag :cljs/analysis-error}
at cljs.analyzer$macroexpand_1_STAR_$fn__3161.invoke(analyzer.cljc:2643)
at cljs.analyzer$macroexpand_1_STAR_.invokeStatic(analyzer.cljc:2640)
at cljs.analyzer$macroexpand_1_STAR_.invoke(analyzer.cljc:2625)
at cljs.analyzer$macroexpand_1.invokeStatic(analyzer.cljc:2688)
at cljs.analyzer$macroexpand_1.invoke(analyzer.cljc:2684)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2718)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2896)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2895)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at clojure.core$map$fn__4785.invoke(core.clj:2646)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.Cons.next(Cons.java:39)
at clojure.lang.PersistentVector.create(PersistentVector.java:73)
at clojure.lang.LazilyPersistentVector.create(LazilyPersistentVector.java:44)
at clojure.core$vec.invokeStatic(core.clj:377)
at clojure.core$vec.invoke(core.clj:367)
at cljs.analyzer$parse_invoke_STAR_.invokeStatic(analyzer.cljc:2522)
at cljs.analyzer$parse_invoke_STAR_.invoke(analyzer.cljc:2493)
at cljs.analyzer$parse_invoke.invokeStatic(analyzer.cljc:2531)
at cljs.analyzer$parse_invoke.invoke(analyzer.cljc:2529)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:2695)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:2692)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:2699)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:2697)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2720)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2721)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2896)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2895)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze_let_binding_init.invokeStatic(analyzer.cljc:1496)
at cljs.analyzer$analyze_let_binding_init.invoke(analyzer.cljc:1494)
at cljs.analyzer$analyze_let_bindings_STAR_.invokeStatic(analyzer.cljc:1518)
at cljs.analyzer$analyze_let_bindings_STAR_.invoke(analyzer.cljc:1507)
at cljs.analyzer$analyze_let_bindings.invokeStatic(analyzer.cljc:1549)
at cljs.analyzer$analyze_let_bindings.invoke(analyzer.cljc:1548)
at cljs.analyzer$analyze_let.invokeStatic(analyzer.cljc:1564)
at cljs.analyzer$analyze_let.invoke(analyzer.cljc:1559)
at clojure.lang.MultiFn.invoke(MultiFn.java:251)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:2694)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:2692)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:2699)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:2697)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2720)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2721)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2896)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2895)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at clojure.core$map$fn__4785.invoke(core.clj:2646)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:521)
at clojure.lang.LazilyPersistentVector.create(LazilyPersistentVector.java:44)
at clojure.core$vec.invokeStatic(core.clj:377)
at clojure.core$vec.invoke(core.clj:367)
at cljs.analyzer$parse_invoke_STAR_.invokeStatic(analyzer.cljc:2522)
at cljs.analyzer$parse_invoke_STAR_.invoke(analyzer.cljc:2493)
at cljs.analyzer$parse_invoke.invokeStatic(analyzer.cljc:2531)
at cljs.analyzer$parse_invoke.invoke(analyzer.cljc:2529)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:2695)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:2692)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:2699)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:2697)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2720)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2896)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2895)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at clojure.lang.MultiFn.invoke(MultiFn.java:251)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:2694)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:2692)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:2699)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:2697)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2720)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2896)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2895)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at clojure.lang.MultiFn.invoke(MultiFn.java:251)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:2694)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:2692)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:2699)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:2697)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:2720)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:2701)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:2838)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:2834)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:2885)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:2876)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:2901)
at cljs.analyzer$analyze.invoke(analyzer.cljc:2888)
at cljs.repl$evaluate_form$fn__7452.invoke(repl.cljc:484)
at cljs.repl$evaluate_form.invokeStatic(repl.cljc:483)
at cljs.repl$evaluate_form.invoke(repl.cljc:440)
at cljs.repl$eval_cljs.invokeStatic(repl.cljc:575)
at cljs.repl$eval_cljs.invoke(repl.cljc:568)
at cljs.repl$repl_STAR_$read_eval_print__7598.invoke(repl.cljc:921)
at cljs.repl$repl_STAR_$fn__7604$fn__7613.invoke(repl.cljc:960)
at cljs.repl$repl_STAR_$fn__7604.invoke(repl.cljc:959)
at cljs.compiler$with_core_cljs.invokeStatic(compiler.cljc:1154)
at cljs.compiler$with_core_cljs.invoke(compiler.cljc:1145)
at cljs.repl$repl_STAR_.invokeStatic(repl.cljc:923)
at cljs.repl$repl_STAR_.invoke(repl.cljc:806)
at cemerick.piggieback$run_cljs_repl.invokeStatic(piggieback.clj:169)
at clojure.lang.AFn.applyToHelper(AFn.java:171)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core$apply.invokeStatic(core.clj:650)
at clojure.core$apply.invoke(core.clj:641)
at cemerick.piggieback$evaluate.invokeStatic(piggieback.clj:258)
at cemerick.piggieback$evaluate.invoke(piggieback.clj:254)
at clojure.lang.Var.invoke(Var.java:379)
at cemerick.piggieback$wrap_cljs_repl$fn__33010$fn__33012$fn__33013.invoke(piggieback.clj:290)
at clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__15308.invoke(interruptible_eval.clj:190)
at clojure.lang.AFn.run(AFn.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.