This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-21
Channels
- # announcements (39)
- # architecture (7)
- # aws (9)
- # babashka (111)
- # beginners (139)
- # bristol-clojurians (1)
- # calva (47)
- # chlorine-clover (5)
- # cider (17)
- # clj-kondo (26)
- # clojars (25)
- # clojure (251)
- # clojure-berlin (1)
- # clojure-dev (5)
- # clojure-europe (22)
- # clojure-france (1)
- # clojure-hungary (6)
- # clojure-losangeles (8)
- # clojure-nl (18)
- # clojure-spec (3)
- # clojure-uk (68)
- # clojured (32)
- # clojurescript (32)
- # core-async (10)
- # core-typed (120)
- # cursive (8)
- # datascript (10)
- # datomic (11)
- # docker (2)
- # emacs (6)
- # figwheel-main (4)
- # fulcro (10)
- # graalvm (92)
- # hoplon (2)
- # instaparse (9)
- # jobs (3)
- # jobs-discuss (31)
- # joker (2)
- # kaocha (1)
- # lambdaisland (5)
- # leiningen (10)
- # luminus (1)
- # lumo (14)
- # meander (30)
- # mid-cities-meetup (1)
- # midje (1)
- # off-topic (46)
- # pathom (22)
- # perun (2)
- # re-frame (10)
- # reitit (1)
- # remote-jobs (8)
- # shadow-cljs (71)
- # spacemacs (7)
- # sql (40)
- # tools-deps (31)
- # tree-sitter (11)
- # vim (14)
- # vscode (2)
- # xtdb (5)
Mystery of the week
Starting Figwheel
[Figwheel] Validating figwheel-main.edn
[Figwheel] figwheel-main.edn is valid \(ツ)/
[Figwheel:WARNING] Attempting to dynamically add "env/qa/cljs" to classpath!
[Figwheel:WARNING] Source directory "env/qa/cljs" is not on the classpath
[Figwheel:WARNING] Please fix this by adding "env/qa/cljs" to your classpath
$ find . -type f -exec grep "env/qa/cljs" \{\} \; -print
Binary file ./.git/index matches
./.git/index
$
So the env/
directory has subdirectories for demo/
, dev/
, local/
, prod/
, qa/
, test/
` , and uat/
, each of which has a cljs/
subdirectory. There is no reference to env/qa/cljs
in any file, config or otherwise, in the project dir. I’ve cleared all my IDE caches and made sure none of the env subdirs is marked as a source dir. So why on earth does Figwheel pick env/qa/cljs
to try and load dynamically when I’m building a local
build, and not pick any of the others? And more importantly, how do I tell it to stop trying to dynamically load env/qa/cljs
, which would interfere with my local build?Figwheel has an option, :helpful-classpaths
, where it tries to add paths it thinks might be ones you want (https://figwheel.org/config-options.html). I'm finding it a little difficult to track through the code on my phone but perhaps that's what's happening here.
Ooo, that sounds promising, tks!