This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-03
Channels
- # announcements (12)
- # beginners (44)
- # boot (27)
- # calva (73)
- # cider (1)
- # clj-kondo (9)
- # cljdoc (9)
- # cljs-dev (15)
- # cljsrn (6)
- # clojure (90)
- # clojure-dev (5)
- # clojure-europe (4)
- # clojure-ireland (3)
- # clojure-italy (22)
- # clojure-mexico (2)
- # clojure-nl (8)
- # clojure-uk (32)
- # clojurescript (12)
- # core-async (2)
- # cursive (16)
- # data-science (10)
- # datascript (3)
- # datomic (44)
- # emacs (17)
- # events (4)
- # graalvm (1)
- # hoplon (5)
- # jackdaw (17)
- # keechma (11)
- # nrepl (7)
- # off-topic (24)
- # re-frame (19)
- # reitit (4)
- # rewrite-clj (2)
- # robots (9)
- # shadow-cljs (20)
- # sql (12)
- # testing (4)
- # tools-deps (23)
- # vim (55)
hey folks, beside environment variables, I'm looking for a solution to set a value for both clj and cljs per build basis. Any suggestion ?
a string , currently I'm using env variables , but i was wondering if there is a better way through shadowcljs
yupe, based on that value i load a different edn file and feed some part of it to cljs
Hey, clojurians! 👋 Anyone had luck with getting shadow-cljs to work with kee-frame in luminus generated app?
An app generated with lein new luminus demo-app +kee-frame +shadow-cljs
when running lein shadow watch app
throws:
------ ERROR -------------------------------------------------------------------
File: jar:file:/Users/pk/.m2/repository/thheller/shadow-cljs/2.8.37/shadow-cljs-2.8.37.jar!/shadow/cljs/devtools/client/hud.cljs:1:1
--------------------------------------------------------------------------------
1 | (ns shadow.cljs.devtools.client.hud
-------^------------------------------------------------------------------------
Invalid :refer, var cljs.core.async/go does not exist
--------------------------------------------------------------------------------
2 | (:require
3 | [shadow.dom :as dom]
4 | [shadow.xhr :as xhr]
5 | [shadow.animate :as anim]
--------------------------------------------------------------------------------
the error happens deep inside shadow-cljs lib. I'm new to clojure so I'm not sure how to approach this - do I have any chance of debugging this or should I just try different lib/versions?That was it! I added core.async to kee-frame exclusions and as a separate dep in project.clj:
[kee-frame "0.3.3" :exclusions [metosin/reitit-core org.clojure/core.async]]
[org.clojure/core.async "0.4.490"]
and it worked! Thank you!!@pt.roterski I'm guessing it's pulling in an old version of ClojureScript. verifying...
Thanks for reply! It's [org.clojure/clojurescript "1.10.520" :scope "provided"]
in generated project.clj which, according to https://clojurescript.org/ , is the current version.
Has anyone run into issues running browser targets on ie10 and below? Runs great elsewhere. The console shows:
shadow-cljs - failed to load 15
shadow-cljs - failed to load 20
SCRIPT5009: 'Set' is undefined
SCRIPT5009: '<primary ns>' is undefined
Can’t be sure if this is specific to Shadow or not and haven’t done much digging quite yet, but curious if anyone has seen this.Would also be interested in ideas around where to begin debugging the failed to load <#>
console warnings
ie11 seems great. this is output from [email protected]