This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-27
Channels
- # aleph (8)
- # announcements (14)
- # beginners (25)
- # cider (20)
- # cljdoc (5)
- # clojure (70)
- # clojure-europe (2)
- # clojure-germany (6)
- # clojure-italy (8)
- # clojure-nl (3)
- # clojure-russia (107)
- # clojure-spec (22)
- # clojure-uk (40)
- # clojurescript (18)
- # core-async (3)
- # cursive (8)
- # data-science (11)
- # datomic (20)
- # editors (1)
- # emacs (5)
- # figwheel-main (19)
- # fulcro (25)
- # graphql (1)
- # hoplon (2)
- # hyperfiddle (2)
- # jobs (1)
- # leiningen (3)
- # lumo (4)
- # off-topic (40)
- # pedestal (1)
- # quil (4)
- # re-frame (5)
- # shadow-cljs (105)
- # sql (4)
- # uncomplicate (1)
hello my figwheel repl prompt not comming back, it worked way it is, yesterday. but today it is not working. I didn't change my configuration
Hello people, I am a bit confused. So I use CIDER, and leiningen in a project currently. Trying to migrate to figwheel-main, but not sure if that is a sensible thing to do. - I am at the latest CIDER version - Do I need figwheel-sidecar still? or is that old fashioned - I just want to jack-in clojurescript, will that work as before? Asking because I want to prevent going too deep in a dead end street. Or should i get rid of leiningen altogether to work with Figwheel Main?
[Figwheel] Compile Warning target/public/cljs-out/dev/clojure/test/check/generators.cljc line:999 column:15
cljs.core/<=, all arguments must be numbers, got [#{nil js/Number} number] instead
994 ubexp (max -1023 (get-exponent upper-bound))]
995 (cond (<= 0.0 lower-bound)
996 (tuple (gen-exp lbexp ubexp)
997 (return 1.0))
998
999 (<= upper-bound 0.0)
^---
1000 (tuple (gen-exp ubexp lbexp)
1001 (return -1.0))
1002
1003 :else
1004 (fmap (fn [[exp sign :as pair]]
Dec 27, 2018 8:58:41 PM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: target/public/cljs-out/dev/inferred_externs.js:1: WARNING - name goog is not defined in the externs.
goog.DEBUG;
^^^^
Dec 27, 2018 8:58:41 PM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 0 error(s), 1 warning(s)
[Figwheel] Successfully compiled build dev to "target/public/cljs-out/dev-main.js" in 22.179 seconds.
Why this goog.DEBUG warning when ["-m" "figwheel.main" "-O" "advanced" "-bo" "dev"]
? Is it intention do be like that? I don’t have this issue with ["-m" "figwheel.main" "-b" "dev" "-r"]
.https://github.com/kwladyka/form-validator-cljs/blob/gh-pages/cljs-out/dev/inferred_externs.js - exactly this file
so this isn’t a figwheel issue, its just that goog
doesn’t exist when you use advanced compilation mode
@bhauman I can be wrong but I remember there was a place with examples of figwheel-main projects. Where is it? I would love to add there https://github.com/kwladyka/form-validator-cljs/tree/doc as example of using {:npm {:bundles {"dist/index_bundle.js" "src/js/index.js"}}}
and clj
in project. Of course if you agree the example is worthy 🙂