This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-13
Channels
- # admin-announcements (1)
- # beginners (10)
- # boot (15)
- # cider (9)
- # clara (195)
- # cljsrn (24)
- # clojars (20)
- # clojure (46)
- # clojure-android (1)
- # clojure-germany (15)
- # clojure-greece (16)
- # clojure-nl (1)
- # clojure-russia (13)
- # clojure-spec (28)
- # clojure-uk (44)
- # clojurescript (104)
- # clojurex (1)
- # component (7)
- # css (2)
- # cursive (27)
- # datomic (92)
- # dirac (12)
- # emacs (5)
- # lambdaisland (3)
- # lein-figwheel (36)
- # mount (87)
- # off-topic (8)
- # om (102)
- # om-next (3)
- # onyx (30)
- # pedestal (3)
- # re-frame (26)
- # reagent (20)
- # robots (4)
- # specter (18)
- # spirituality-ethics (1)
- # untangled (127)
- # yada (11)
@wilkerlucio: darn sorry about that, I should A) put that back and B) use (:all-builds (figwheel-sidecar.config/fetch-config))
@bhauman: thanks 🙂, I think would be nice to document that change, if you prefer the new fetch-config
I'm ok with using that
@bhauman: I still can't get it to work though...
I'm finding some strange things, for example, my config is this:
but when I run the fetch-config, this is what I get back:
notice that it renamed the key :compiler
to :build-options
then it complains if I use it
to get around I wrote
but still, that doesn't works, when I run it fails with: Exception in thread "main" java.lang.ClassCastException: clojure.lang.PersistentVector cannot be cast to clojure.lang.IPersistentMap, compiling:(figwheel.clj:12:26)
full stack:
@bhauman: upgraded here, still getting the same error
@wilkerlucio: sorry that is a new one.
I'm running though Cursive, using a clojure.main process
you can see the project.clj here (still outdated regarding the figwheel dependency): https://github.com/daveconservatoire/dcex-cljs/blob/master/project.clj
and I start Figwheel using this script: https://github.com/daveconservatoire/dcex-cljs/blob/master/script/figwheel.clj
@bhauman: I noticed and fixed for that, but still having that issue about the stack that I pasted here
I also added a rename-keys to convert :build-options
into :compiler
because it was changing interanlly
@wilkerlucio: I'm on this and I'll get back to you when I find out something
no worries, thanks for the taking the time with it, please let me know if I can do anything to help you
@wilkerlucio: from your stack-trace it looks like the error is happening inside rename-keys
@wilkerlucio: I added get-project-builds
back with this commit https://github.com/bhauman/lein-figwheel/commit/115a2225399c009627fc9aeba892f62649349848
@bhauman: you are right, I fixed the rename keys and it works now 🙂
and thanks for adding that back, its pretty helpful
and one more thanks for the new error messages, they are awesome!!
I see from the above discussion that I’m not the only one having problems with figwheel-sidecar
after up’ing to 0.5.4-2
It says
The key :build-options is deprecated and no longer valid. Please use :compiler
:all-builds [{
:build-options { :main sagsbehandler.core
:asset-path "js/compiled/out"
:output-to "resources/public/js/compiled/sagsbehandler.js"
... }
^ key :build-options should be :compiler
}]
when I start upOk, the snippit from @wilkerlucio fixed my issue as well