This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-11
Channels
- # announcements (3)
- # asami (4)
- # babashka (79)
- # babashka-sci-dev (47)
- # beginners (97)
- # biff (12)
- # calva (7)
- # clj-commons (3)
- # clj-kondo (22)
- # clj-on-windows (13)
- # cljdoc (31)
- # cljfx (2)
- # cljs-dev (1)
- # clojure (85)
- # clojure-austin (4)
- # clojure-dev (12)
- # clojure-europe (15)
- # clojure-italy (8)
- # clojure-nl (4)
- # clojure-uk (4)
- # community-development (19)
- # conjure (3)
- # core-typed (40)
- # cursive (9)
- # datahike (21)
- # datomic (1)
- # emacs (7)
- # exercism (2)
- # graalvm (20)
- # graphql (1)
- # honeysql (16)
- # jobs (1)
- # malli (2)
- # off-topic (3)
- # pathom (28)
- # pedestal (3)
- # polylith (7)
- # reitit (14)
- # releases (1)
- # remote-jobs (1)
- # rewrite-clj (4)
- # shadow-cljs (21)
- # sql (21)
- # testing (8)
- # tools-deps (23)
- # vscode (8)
- # xtdb (38)
hello 👋
I'm runing tests with lein doo
and I'm getting this error
clojure.lang.ExceptionInfo: failed compiling file:out/clojure/core/rrb_vector/trees.cljs {:file #object[java.io.File 0x5b71ccf2 "out/clojure/core/rrb_vector/trees.cljs"], :clojure.error/phase :compilation}
....
Caused by: clojure.lang.ExceptionInfo: Wrong number of args (1) passed to: clojure.core.rrb-vector.nodes/ranges at line 25 out/clojure/core/rrb_vector/trees.cljs {:file "out/clojure/core/rrb_vector/trees.cljs", :line 25, :column 24, :tag :cljs/analysis-error}
at cljs.analyzer$error.invokeStatic(analyzer.cljc:719)
at cljs.analyzer$error.invoke(analyzer.cljc:715)
... 325 more
Caused by: clojure.lang.ArityException: Wrong number of args (1) passed to: clojure.core.rrb-vector.nodes/ranges
at cljs.analyzer$macroexpand_1_STAR_$fn__2736.invoke(analyzer.cljc:3930)
at cljs.analyzer$macroexpand_1_STAR_.invokeStatic(analyzer.cljc:3926)
at cljs.analyzer$macroexpand_1_STAR_.invoke(analyzer.cljc:3913)
... 325 more
Subprocess failed (exit code: 1)
here's my cljsbuild test config
:test
{:source-paths ["src/ona/client"
"src/ona/plugins"
"src/ona/utils"
"test"
"test/ona/client"
"test/ona/plugins"
"test/ona/utils"]
:compiler {:output-to ~(cljs-target "main-test.js")
:output-dir ~(cljs-target "out-test")
:main ona.utils.test-runner
:optimizations :none
:language-in :ecmascript-next
:language-out :ecmascript-next
:pretty-print true
:source-map true
:asset-path ~(cljs-target "out-test")
:compiler-stats true
:foreign-libs
[{:file ~(js-dir "vendor/polyfill.js")}
{:file ~(js-dir "vendor/leaflet.js")}
{:file ~(js-dir "vendor/intro-1.0.0.min.js")}
{:file ~(js-dir "vendor/dropbox.js")
:provides ["Dropbox"]}
{:file ~(js-dir "vendor/osmtogeojson.js")}]}