This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-26
Channels
- # announcements (7)
- # babashka (42)
- # beginners (349)
- # chlorine-clover (9)
- # cider (16)
- # circleci (2)
- # clj-kondo (6)
- # cljs-dev (61)
- # cljsrn (15)
- # clojure (95)
- # clojure-europe (11)
- # clojure-italy (2)
- # clojure-nl (4)
- # clojure-spec (4)
- # clojure-uk (24)
- # clojurescript (21)
- # conjure (2)
- # core-async (8)
- # cursive (12)
- # datascript (2)
- # emacs (4)
- # exercism (1)
- # figwheel-main (86)
- # fulcro (27)
- # graalvm (4)
- # helix (36)
- # hoplon (3)
- # interop (44)
- # kaocha (6)
- # lein-figwheel (4)
- # malli (7)
- # meander (9)
- # off-topic (95)
- # pathom (33)
- # pedestal (13)
- # re-frame (20)
- # reitit (3)
- # shadow-cljs (102)
- # tools-deps (14)
- # xtdb (16)
@olivergeorge, thanks, that got me a bit further. Now I got an error about the file not being found, which also gave me some hint about where it looked for the file. However, fixing the path and making a new clean build brings me back to where no image is rendered and no error messages anywhere. Truly odd.
@thheller with shadow-cljs I get back something that I imagine is a file descriptor when I evaluate the js/require at the REPL: Same with Figwheel.
@pez that is only true if the require was part of the initially loaded code. if you require something "new" from the REPL then it will be missing.
@pez you can debug the assets things pretty easily by looking at :output-dir/krell_assets.js
either the paths are right or they're wrong - that's the only reason they wouldn't show up
@dnolen that file looks fine afaict. Is there a Krell log file I can look at, similar to the figwheel server log?
actually I guess those will be absolute? point is they have to be something that Metro can find
The path is relative to to the krell_assets.js
file itself. I’m not allowed to use absolute paths in the js/require
.
that would help a lot - I haven't heard of anyone else having problems with assets - what platform? Linux / OS X?
OS X. I’m thinking I am probably doing something wrong, but can’t see what myself. Public repro coming up later today. 😃
@dnolen Of course it works in the new project... Which is here, fwiw. https://github.com/PEZ/awesome-krell-project The only difference from my other project is the project name, afaict. Some cache somewhere, like @olivergeorge suggested, maybe.