This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-21
Channels
- # aws (2)
- # bangalore-clj (1)
- # beginners (25)
- # boot (2)
- # cider (176)
- # clara (73)
- # cljs-dev (6)
- # cljsrn (31)
- # clojure (40)
- # clojure-greece (9)
- # clojure-india (1)
- # clojure-italy (14)
- # clojure-nl (9)
- # clojure-russia (4)
- # clojure-uk (156)
- # clojurescript (124)
- # core-async (37)
- # cursive (2)
- # data-science (2)
- # datomic (22)
- # emacs (3)
- # fulcro (32)
- # graphql (6)
- # java (3)
- # lein-figwheel (19)
- # lumo (29)
- # nyc (1)
- # off-topic (9)
- # onyx (15)
- # portkey (12)
- # precept (2)
- # re-frame (15)
- # reagent (10)
- # rum (7)
- # schema (2)
- # shadow-cljs (48)
- # tools-deps (35)
- # yada (1)
@thheller I tried to make a chrome release, but I see it says not implemented, any chance you can prioritize that? :)
yeah I'll fix that first. I'll be back in a couple hours and take a look at it then

it should already be compiling and outputting the correct files. only the part updating the manifest is missing
@denik no one reported this so far and I haven't seen anything like that myself. not sure what could cause this. log looks fine.
Scratching my head around an issue with shadow.loader
where the moduleInfo is undefined, and thus 'isLoaded' is undefined.
I have modules defined as in {:module-loader true, :modules {:main {:entries []}, :login {:entries [app.login] :depends-on #{:main}}}}
. It compiles fine. I get a module-loader.edn
and module-loader.json
in my :output-dir
, containing {:module-uris {:login ["files paths", …]} :module-infos {:login #{}}}
In the console:
shadow.loader.load("login"); // => Error: Unknown module: login
shadow.loader.set_loaded("login") // => Cannot read property 'onLoad' of undefined
shadow.loader.mm.getModuleInfo("login") // => undefined
I have been through the doc multiple times but now I'm feeling stuck. Did I miss something ?@ggaillard check the last line of you main.js
. it should contain a call to shadow.loader.setup
My main.js
ends with SHADOW_ENV.load(["path", …])
and no call to loader.setup
in the file unfortunately. Neither in login.js
😕
main.js
is the first file to load, no code is referencing shadow.loader
before it finish loading
Indeed ! I got 2 lines in there:
shadow.cljs.devtools.client.browser.module_loaded('main');
shadow.loader.enable();
hmm try adding cljs.core
to the entries of main
. there might be a bug with empty :entries
I don't know ... if I recall correctly, lein-cljsbuild is outputing modules infos to the build by defining a goog constant. How is the goog ModuleLoader parametrized in shadow ? I'll try adding cljs.core 🙂
Ok got it, I'm looking at the source code. I'll try to find out what's going on
it seems like the isLoaded
call was renamed to isActive
. so that explains why that fails
A change in the closure compiler api ?
ah no isLoaded
is still around. you are just missing the setup
call for some reason.
or configure a fixed nrepl port https://shadow-cljs.github.io/docs/UsersGuide.html#nREPL and user cider-connect
@wilkerlucio master
has support for release
. I changed :entry
to :shadow/entry
as you suggested so you need to update those.

also added support for multiple different content-scripts should that ever become necessary. no config change for that.
best ask in #cider. I personally do not use emacs and can't really comment on whats going on over there. maybe something new they added recently.
@wilkerlucio master had a bug. update again if you already did.
@thheller thanks for the heads up, I'm at the office now, so I'll be checking it later today
@thheller I just tried the compilation, it seems to work mostly, something weird is around some special UTF-8 chars, I use for example the chars ▼
and ▶
for tree views, but on adv compilation they are rendering as â–¼
and â–¶
, you know what that can be about?
ps: that is not the chrome build, it's on the devtool build, which is a :browser
target
nah, seems something about the chrome devtool, weird it works on normal compilations though