This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-02
Channels
- # announcements (37)
- # babashka (9)
- # beginners (172)
- # calva (7)
- # cestmeetup (28)
- # chlorine-clover (27)
- # clj-kondo (2)
- # cljs-dev (45)
- # cljsrn (8)
- # clojure (185)
- # clojure-dev (27)
- # clojure-europe (6)
- # clojure-finland (3)
- # clojure-nl (5)
- # clojure-uk (13)
- # clojuredesign-podcast (4)
- # clojurescript (54)
- # conjure (19)
- # core-typed (1)
- # cursive (40)
- # datomic (9)
- # emacs (5)
- # figwheel-main (34)
- # fulcro (238)
- # graphql (14)
- # hugsql (3)
- # leiningen (4)
- # malli (6)
- # off-topic (12)
- # pedestal (5)
- # portkey (19)
- # protorepl (8)
- # rdf (2)
- # re-frame (23)
- # reagent (3)
- # reitit (16)
- # shadow-cljs (29)
- # spacemacs (12)
- # sql (1)
- # xtdb (15)
[Figwheel] Failed to compile build prod in 0.025 seconds.
[Figwheel:WARNING] Compile Exception: contains? not supported on type: java.lang.Boolean
[Figwheel:SEVERE] contains? not supported on type: java.lang.Boolean
Execution error (IllegalArgumentException) at cljs.closure/compute-upstream-npm-deps$fn (closure.clj:2440).
contains? not supported on type: java.lang.Boolean
I get this when trying to build with :target :bundle ?:clojure.main/message
"Execution error (IllegalArgumentException) at cljs.closure/compute-upstream-npm-deps$fn (closure.clj:2440).\ncontains? not supported on type: java.lang.Boolean\n",
:clojure.main/triage
{:clojure.error/class java.lang.IllegalArgumentException,
:clojure.error/line 2440,
:clojure.error/cause
"contains? not supported on type: java.lang.Boolean",
:clojure.error/symbol cljs.closure/compute-upstream-npm-deps$fn,
:clojure.error/source "closure.clj",
:clojure.error/phase :execution}
Check your deps tree? you might be running a different version than you think you are… (I’ve done this..)
With deps.edn
it’s clj -Stree
and with lein
it’s lein deps :tree
@U0K064KQV it really shouldn’t be happening with that version
Hum, something else that happens is that it doesn't se to apply the bundle-cmd after the build
Hm, I’m using 0.2.7 and building with auto-test, seems auto-test is overwriting the regular main.js
:
[Figwheel] Successfully compiled build basedev to "resources/public/js/main.out/index.js" in 42.267 seconds.
[Figwheel] Bundling: npx webpack --mode=development resources/public/js/main.out/index.js -o resources/public/js/main.js
[Figwheel] Outputting main file: resources/public/js/main.out/index-auto-testing.js
[Figwheel] Bundling: npx webpack --mode=development resources/public/js/main.out/index-auto-testing.js -o resources/public/js/main.js
[Figwheel] Watching paths: ("src/clojure" "test/clojure") to compile build - basedev
{:main my.main
:output-to "resources/public/js/main.out/index.js"
:auto-testing true
:output-dir "resources/public/js/main.out",
:asset-path "/js/main.out"
:closure-defines {"re_frame.trace.trace_enabled_QMARK_" true}
:preloads [my.preloads]}
figwheel-main.edn
{:auto-testing true
:watch-dirs ["src/clojure" "test/clojure"],
:css-dirs ["resources/public/css"],
:open-url "false"
:helpful-classpaths false
:auto-bundle :webpack
:final-output-to "resources/public/js/main.js"}