Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not generate some docs because of old ClojureScript version #188

Open
nekit5435 opened this issue Oct 21, 2019 · 5 comments
Open

Could not generate some docs because of old ClojureScript version #188

nekit5435 opened this issue Oct 21, 2019 · 5 comments

Comments

@nekit5435
Copy link

nekit5435 commented Oct 21, 2019

I'm using ClojureScript "1.10.520" in my project and got an issue with code analyze.
My function is using cljs.spec.test.alpha/instrument, which was moved from cljs.spec.test in v1.9.542, so old analyzer in Codox can't resolve it and i'm missing some docs.
When the new version of ClojureScript will be included in Codox? And for now, can i somehow resolve my issue without downgrading cljs version in my project?

@weavejester
Copy link
Owner

Codox should use whatever version of ClojureScript your project runs on. Could you give a little more information about the error you receive and your dependencies?

@nekit5435
Copy link
Author

[;; CLOJURE

              [org.clojure/clojure "1.10.1"]
              [org.clojure/core.match "0.3.0-alpha5"]
              [org.clojure/spec.alpha "0.2.176"]
              [org.clojure/tools.trace "0.7.10"]
              [org.clojure/tools.logging "0.4.1"]

              [org.apache.logging.log4j/log4j-slf4j-impl "2.11.1"]
              [org.slf4j/slf4j-api "1.7.25"]

              [com.fasterxml.jackson.core/jackson-core "2.9.9"]
              [com.fasterxml.jackson.core/jackson-databind "2.9.9"]

              [ring/ring-core "1.7.1"]
              [ring/ring-headers "0.3.0"]
              [ring-cors "0.1.12"]
              [compojure "1.6.1"]
              [metosin/muuntaja "0.6.4"]

              [com.datomic/datomic-pro "0.9.5927" :exclusions [org.slf4j/slf4j-nop]]
              [org.postgresql/postgresql "42.2.5"]
              [io.rkn/conformity "0.5.1"]

              [buddy/buddy-sign "3.0.0"]
              [buddy/buddy-hashers "1.3.0"]
              [ring-oauth2 "0.1.4"]

              [com.rabbitmq/amqp-client "5.5.3"]
              [com.draines/postal "2.0.3"]
              [com.climate/claypoole "1.1.4"]
              [com.novemberain/pantomime "2.11.0"]
              [com.amazonaws/aws-java-sdk-ses "1.11.592"]

              ;; CLOJURESCRIPT

              [org.clojure/clojurescript "1.10.520"]

              [clj-commons/secretary "1.2.4"]
              [cljs-http "0.1.45"]

              [day8.re-frame/async-flow-fx "0.0.11"]
              [day8.re-frame/tracing-stubs "0.5.1"]
              [metosin/reitit-core "0.3.9"]
              [metosin/reitit-frontend "0.3.9"]
              [metosin/reitit-schema "0.3.9"]
              [re-frame "0.10.7"]
              [reagent "0.8.1"]
              [reagent-utils "0.3.1"]

              [com.andrewmcveigh/cljs-time "0.5.2"]
              [cljs-bean "1.1.0"]

              ;; CONFLICT RESOLUTION

              [args4j "2.33"]
              [clj-time "0.14.4"]
              [com.cognitect/transit-clj "0.8.313"]
              [com.fasterxml.jackson.core/jackson-annotations "2.9.6"]
              [com.google.guava/guava "27.0.1-jre"]
              [commons-codec "1.12"]
              [commons-fileupload "1.3.3"]
              [commons-io "2.6"]
              [expound "0.7.2"]
              [javax.activation/activation "1.1.1"]
              [org.apache.httpcomponents/httpclient "4.5.6"]
              [org.apache.httpcomponents/httpmime "4.5.6"]
              [org.bouncycastle/bcpkix-jdk15on "1.60"]
              [org.bouncycastle/bcprov-jdk15on "1.60"]
              [org.ow2.asm/asm "6.2"]
              [org.slf4j/jcl-over-slf4j "1.7.25"]
              [org.slf4j/jul-to-slf4j "1.7.25"]
              [ring/ring-codec "1.1.1"]]
Stacktrace

Could not generate clojurescript documentation for xxx/label.cljs - root cause: clojure.lang.ExceptionInfo null
clojure.lang.ExceptionInfo: null #:clojure.error{:source "xxx/label.cljs", :line 45, :column 1, :phase :compilation}
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3849)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$parse_invoke_STAR_.invokeStatic(analyzer.cljc:3558)
at cljs.analyzer$parse_invoke_STAR_.invoke(analyzer.cljc:3555)
at cljs.analyzer$parse_invoke.invokeStatic(analyzer.cljc:3613)
at cljs.analyzer$parse_invoke.invoke(analyzer.cljc:3611)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3846)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_let_binding_init.invokeStatic(analyzer.cljc:2245)
at cljs.analyzer$analyze_let_binding_init.invoke(analyzer.cljc:2243)
at cljs.analyzer$analyze_let_bindings_STAR_.invokeStatic(analyzer.cljc:2265)
at cljs.analyzer$analyze_let_bindings_STAR_.invoke(analyzer.cljc:2254)
at cljs.analyzer$analyze_let_bindings.invokeStatic(analyzer.cljc:2300)
at cljs.analyzer$analyze_let_bindings.invoke(analyzer.cljc:2299)
at cljs.analyzer$analyze_let.invokeStatic(analyzer.cljc:2323)
at cljs.analyzer$analyze_let.invoke(analyzer.cljc:2310)
at cljs.analyzer$fn__1958.invokeStatic(analyzer.cljc:2361)
at cljs.analyzer$fn__1958.invoke(analyzer.cljc:2359)
at clojure.lang.MultiFn.invoke(MultiFn.java:252)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3845)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3875)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3875)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$fn__1927.invokeStatic(analyzer.cljc:2224)
at cljs.analyzer$fn__1927.invoke(analyzer.cljc:2220)
at clojure.lang.MultiFn.invoke(MultiFn.java:252)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3845)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_fn_method_body.invokeStatic(analyzer.cljc:2017)
at cljs.analyzer$analyze_fn_method_body.invoke(analyzer.cljc:2015)
at cljs.analyzer$analyze_fn_method.invokeStatic(analyzer.cljc:2039)
at cljs.analyzer$analyze_fn_method.invoke(analyzer.cljc:2019)
at cljs.analyzer$fn__1890$fn__1893.invoke(analyzer.cljc:2111)
at clojure.core$map$fn__5866.invoke(core.clj:2755)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
at clojure.lang.LazySeq.seq(LazySeq.java:51)
at clojure.lang.RT.seq(RT.java:535)
at clojure.core$seq__5402.invokeStatic(core.clj:137)
at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:24)
at clojure.core.protocols$fn__8146.invokeStatic(protocols.clj:75)
at clojure.core.protocols$fn__8146.invoke(protocols.clj:75)
at clojure.core.protocols$fn__8088$G__8083__8101.invoke(protocols.clj:13)
at clojure.core$transduce.invokeStatic(core.clj:6884)
at clojure.core$transduce.invoke(core.clj:6870)
at cljs.analyzer$fn__1890.invokeStatic(analyzer.cljc:2112)
at cljs.analyzer$fn__1890.invoke(analyzer.cljc:2082)
at clojure.lang.MultiFn.invoke(MultiFn.java:252)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3845)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3875)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_vector$fn__2533$fn__2534.invoke(analyzer.cljc:3898)
at clojure.core$mapv$fn__8445.invoke(core.clj:6912)
at clojure.lang.PersistentVector.reduce(PersistentVector.java:343)
at clojure.core$reduce.invokeStatic(core.clj:6827)
at clojure.core$mapv.invokeStatic(core.clj:6903)
at clojure.core$mapv.invoke(core.clj:6903)
at cljs.analyzer$analyze_vector$fn__2533.invoke(analyzer.cljc:3898)
at cljs.analyzer$analyze_vector.invokeStatic(analyzer.cljc:3898)
at cljs.analyzer$analyze_vector.invoke(analyzer.cljc:3895)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4064)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$parse_invoke_STAR_$ana_expr__2465.invoke(analyzer.cljc:3606)
at clojure.core$mapv$fn__8445.invoke(core.clj:6912)
at clojure.core.protocols$fn__8159.invokeStatic(protocols.clj:168)
at clojure.core.protocols$fn__8159.invoke(protocols.clj:124)
at clojure.core.protocols$fn__8114$G__8109__8123.invoke(protocols.clj:19)
at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31)
at clojure.core.protocols$fn__8144.invokeStatic(protocols.clj:75)
at clojure.core.protocols$fn__8144.invoke(protocols.clj:75)
at clojure.core.protocols$fn__8088$G__8083__8101.invoke(protocols.clj:13)
at clojure.core$reduce.invokeStatic(core.clj:6828)
at clojure.core$mapv.invokeStatic(core.clj:6903)
at clojure.core$mapv.invoke(core.clj:6903)
at cljs.analyzer$parse_invoke_STAR_.invokeStatic(analyzer.cljc:3607)
at cljs.analyzer$parse_invoke_STAR_.invoke(analyzer.cljc:3555)
at cljs.analyzer$parse_invoke.invokeStatic(analyzer.cljc:3613)
at cljs.analyzer$parse_invoke.invoke(analyzer.cljc:3611)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3846)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$parse_invoke_STAR_$ana_expr__2465.invoke(analyzer.cljc:3606)
at clojure.core$mapv$fn__8445.invoke(core.clj:6912)
at clojure.core.protocols$fn__8159.invokeStatic(protocols.clj:168)
at clojure.core.protocols$fn__8159.invoke(protocols.clj:124)
at clojure.core.protocols$fn__8114$G__8109__8123.invoke(protocols.clj:19)
at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31)
at clojure.core.protocols$fn__8144.invokeStatic(protocols.clj:75)
at clojure.core.protocols$fn__8144.invoke(protocols.clj:75)
at clojure.core.protocols$fn__8088$G__8083__8101.invoke(protocols.clj:13)
at clojure.core$reduce.invokeStatic(core.clj:6828)
at clojure.core$mapv.invokeStatic(core.clj:6903)
at clojure.core$mapv.invoke(core.clj:6903)
at cljs.analyzer$parse_invoke_STAR_.invokeStatic(analyzer.cljc:3607)
at cljs.analyzer$parse_invoke_STAR_.invoke(analyzer.cljc:3555)
at cljs.analyzer$parse_invoke.invokeStatic(analyzer.cljc:3613)
at cljs.analyzer$parse_invoke.invoke(analyzer.cljc:3611)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3846)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$parse_invoke_STAR_$ana_expr__2465.invoke(analyzer.cljc:3606)
at clojure.core$mapv$fn__8445.invoke(core.clj:6912)
at clojure.core.protocols$fn__8159.invokeStatic(protocols.clj:168)
at clojure.core.protocols$fn__8159.invoke(protocols.clj:124)
at clojure.core.protocols$fn__8114$G__8109__8123.invoke(protocols.clj:19)
at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31)
at clojure.core.protocols$fn__8144.invokeStatic(protocols.clj:75)
at clojure.core.protocols$fn__8144.invoke(protocols.clj:75)
at clojure.core.protocols$fn__8088$G__8083__8101.invoke(protocols.clj:13)
at clojure.core$reduce.invokeStatic(core.clj:6828)
at clojure.core$mapv.invokeStatic(core.clj:6903)
at clojure.core$mapv.invoke(core.clj:6903)
at cljs.analyzer$parse_invoke_STAR_.invokeStatic(analyzer.cljc:3607)
at cljs.analyzer$parse_invoke_STAR_.invoke(analyzer.cljc:3555)
at cljs.analyzer$parse_invoke.invokeStatic(analyzer.cljc:3613)
at cljs.analyzer$parse_invoke.invoke(analyzer.cljc:3611)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3846)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3875)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$parse_invoke_STAR_$ana_expr__2465.invoke(analyzer.cljc:3606)
at clojure.core$mapv$fn__8445.invoke(core.clj:6912)
at clojure.core.protocols$fn__8159.invokeStatic(protocols.clj:168)
at clojure.core.protocols$fn__8159.invoke(protocols.clj:124)
at clojure.core.protocols$fn__8114$G__8109__8123.invoke(protocols.clj:19)
at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31)
at clojure.core.protocols$fn__8144.invokeStatic(protocols.clj:75)
at clojure.core.protocols$fn__8144.invoke(protocols.clj:75)
at clojure.core.protocols$fn__8088$G__8083__8101.invoke(protocols.clj:13)
at clojure.core$reduce.invokeStatic(core.clj:6828)
at clojure.core$mapv.invokeStatic(core.clj:6903)
at clojure.core$mapv.invoke(core.clj:6903)
at cljs.analyzer$parse_invoke_STAR_.invokeStatic(analyzer.cljc:3607)
at cljs.analyzer$parse_invoke_STAR_.invoke(analyzer.cljc:3555)
at cljs.analyzer$parse_invoke.invokeStatic(analyzer.cljc:3613)
at cljs.analyzer$parse_invoke.invoke(analyzer.cljc:3611)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3846)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$fn__1927.invokeStatic(analyzer.cljc:2224)
at cljs.analyzer$fn__1927.invoke(analyzer.cljc:2220)
at clojure.lang.MultiFn.invoke(MultiFn.java:252)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3845)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_let_body_STAR_.invokeStatic(analyzer.cljc:2303)
at cljs.analyzer$analyze_let_body_STAR_.invoke(analyzer.cljc:2302)
at cljs.analyzer$analyze_let_body.invokeStatic(analyzer.cljc:2308)
at cljs.analyzer$analyze_let_body.invoke(analyzer.cljc:2305)
at cljs.analyzer$analyze_let.invokeStatic(analyzer.cljc:2341)
at cljs.analyzer$analyze_let.invoke(analyzer.cljc:2310)
at cljs.analyzer$fn__1958.invokeStatic(analyzer.cljc:2361)
at cljs.analyzer$fn__1958.invoke(analyzer.cljc:2359)
at clojure.lang.MultiFn.invoke(MultiFn.java:252)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3845)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3875)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3875)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3875)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$fn__1927.invokeStatic(analyzer.cljc:2234)
at cljs.analyzer$fn__1927.invoke(analyzer.cljc:2220)
at clojure.lang.MultiFn.invoke(MultiFn.java:252)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3845)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4124)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4122)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$fn__1735$fn__1739.invoke(analyzer.cljc:1633)
at cljs.analyzer$fn__1735.invokeStatic(analyzer.cljc:1633)
at cljs.analyzer$fn__1735.invoke(analyzer.cljc:1626)
at clojure.lang.MultiFn.invoke(MultiFn.java:252)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3845)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
at cljs.analyzer$analyze_seq_STAR__wrap.invoke(analyzer.cljc:3848)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3874)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3875)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_seq.invokeStatic(analyzer.cljc:3875)
at cljs.analyzer$analyze_seq.invoke(analyzer.cljc:3852)
at cljs.analyzer$analyze_form.invokeStatic(analyzer.cljc:4061)
at cljs.analyzer$analyze_form.invoke(analyzer.cljc:4058)
at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:4111)
at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:4102)
at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:4131)
at cljs.analyzer$analyze.invoke(analyzer.cljc:4114)
at cljs.analyzer$analyze_file$fn__2777.invoke(analyzer.cljc:4634)
at cljs.analyzer$analyze_file.invokeStatic(analyzer.cljc:4629)
at cljs.analyzer$analyze_file.invoke(analyzer.cljc:4587)
at cljs.analyzer$analyze_file.invokeStatic(analyzer.cljc:4601)
at cljs.analyzer$analyze_file.invoke(analyzer.cljc:4587)
at cljs.analyzer.api$analyze_file.invokeStatic(api.cljc:140)
at cljs.analyzer.api$analyze_file.invoke(api.cljc:121)
at codox.reader.clojurescript$analyze_file$fn__3202.invoke(clojurescript.clj:76)
at codox.reader.clojurescript$analyze_file.invokeStatic(clojurescript.clj:74)
at codox.reader.clojurescript$analyze_file.invoke(clojurescript.clj:72)
at codox.reader.clojurescript$read_file.invokeStatic(clojurescript.clj:83)
at codox.reader.clojurescript$read_file.invoke(clojurescript.clj:79)
at codox.reader.clojurescript$read_namespaces$fn__3210$file_reader__3211.invoke(clojurescript.clj:129)
at clojure.core$map$fn__5866.invoke(core.clj:2755)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
at clojure.lang.LazySeq.seq(LazySeq.java:51)
at clojure.lang.Cons.next(Cons.java:39)
at clojure.lang.RT.next(RT.java:713)
at clojure.core$next__5386.invokeStatic(core.clj:64)
at clojure.core$reduce1.invokeStatic(core.clj:944)
at clojure.core$reduce1.invokeStatic(core.clj:934)
at clojure.core$merge.invokeStatic(core.clj:3048)
at clojure.core$merge.doInvoke(core.clj:3041)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invokeStatic(core.clj:665)
at clojure.core$apply.invoke(core.clj:660)
at codox.reader.clojurescript$read_namespaces$fn__3210.invoke(clojurescript.clj:132)
at clojure.core$map$fn__5866.invoke(core.clj:2753)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
at clojure.lang.LazySeq.seq(LazySeq.java:51)
at clojure.lang.RT.seq(RT.java:535)
at clojure.core$seq__5402.invokeStatic(core.clj:137)
at clojure.core$apply.invokeStatic(core.clj:660)
at clojure.core$mapcat.invokeStatic(core.clj:2783)
at clojure.core$mapcat.doInvoke(core.clj:2783)
at clojure.lang.RestFn.invoke(RestFn.java:423)
at codox.reader.clojurescript$read_namespaces.invokeStatic(clojurescript.clj:127)
at codox.reader.clojurescript$read_namespaces.invoke(clojurescript.clj:101)
at clojure.lang.Var.invoke(Var.java:388)
at codox.main$cljs_read_namespaces.invokeStatic(main.clj:39)
at codox.main$cljs_read_namespaces.invoke(main.clj:34)
at codox.main$read_namespaces.invokeStatic(main.clj:83)
at codox.main$read_namespaces.invoke(main.clj:80)
at codox.main$generate_docs.invokeStatic(main.clj:123)
at codox.main$generate_docs.invoke(main.clj:116)
at user$eval841.invokeStatic(form-init8065506514490865470.clj:1)
at user$eval841.invoke(form-init8065506514490865470.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:7177)
at clojure.lang.Compiler.eval(Compiler.java:7166)
at clojure.lang.Compiler.eval(Compiler.java:7167)
at clojure.lang.Compiler.load(Compiler.java:7636)
at clojure.lang.Compiler.loadFile(Compiler.java:7574)
at clojure.main$load_script.invokeStatic(main.clj:475)
at clojure.main$init_opt.invokeStatic(main.clj:477)
at clojure.main$init_opt.invoke(main.clj:477)
at clojure.main$initialize.invokeStatic(main.clj:508)
at clojure.main$null_opt.invokeStatic(main.clj:542)
at clojure.main$null_opt.invoke(main.clj:539)
at clojure.main$main.invokeStatic(main.clj:664)
at clojure.main$main.doInvoke(main.clj:616)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.main.main(main.java:40)
Caused by: clojure.lang.ExceptionInfo: Unable to resolve var: instrument-1* in this context at line 45 xxx/label.cljs {:file "xxx/label.cljs", :line 45, :column 1, :tag :cljs/analysis-error}
at cljs.analyzer$error.invokeStatic(analyzer.cljc:751)
at cljs.analyzer$error.invoke(analyzer.cljc:747)
at cljs.analyzer$error.invokeStatic(analyzer.cljc:749)
at cljs.analyzer$error.invoke(analyzer.cljc:747)
at cljs.analyzer$confirm_var_exists_throw$fn__1544$fn__1545.invoke(analyzer.cljc:861)
at cljs.analyzer$confirm_var_exists.invokeStatic(analyzer.cljc:855)
at cljs.analyzer$confirm_var_exists.invoke(analyzer.cljc:837)
at cljs.analyzer$confirm_var_exists_throw$fn__1544.invoke(analyzer.cljc:859)
at cljs.analyzer$resolve_var.invokeStatic(analyzer.cljc:1198)
at cljs.analyzer$resolve_var.invoke(analyzer.cljc:1149)
at cljs.analyzer$var_ast.invokeStatic(analyzer.cljc:1497)
at cljs.analyzer$var_ast.invoke(analyzer.cljc:1491)
at cljs.analyzer$fn__1704.invokeStatic(analyzer.cljc:1515)
at cljs.analyzer$fn__1704.invoke(analyzer.cljc:1504)
at clojure.lang.MultiFn.invoke(MultiFn.java:252)
at cljs.analyzer$analyze_seq_STAR_.invokeStatic(analyzer.cljc:3845)
at cljs.analyzer$analyze_seq_STAR_.invoke(analyzer.cljc:3843)
at cljs.analyzer$analyze_seq_STAR__wrap.invokeStatic(analyzer.cljc:3850)
... 475 more

@weavejester
Copy link
Owner

Have you tested to see if the analyzer works when called directly on the affected namespace?

@nekit5435
Copy link
Author

Called analyzer on problematic ns, didn't found any errors
Tried to change cljs.spec.test.alpha to cljs.spec.test, Codox works fine, but dev build fails with analyzer error as expected. So issue is in ClojureScript version.
Also figured out that deps/add-if-missing is always missing codox dependency and adds it regardless of whether the dependency is added to the project. So i checked input of leiningen.codox/codox and it's getting it as [codox/codox "0.10.7"] instead of [codox "0.10.7"], as i added in my project.clj :dependencies.

@weavejester
Copy link
Owner

Can you reproduce this issue in a sample project? Codox only adds [codox "0.10.7"] as a dependency, so your ClojureScript dependency should take priority.

Also I don't know if the presence of [codox/codox "0.10.7"] indicates a failure of add-if-missing. I believe that's just what Leiningen does to all dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants