Juho Teperi
Juho Teperi
@pandeiro Are you still seeing this? I'm going to close this if there's no more info.
I'm yet to see this myself. A start would be to have a test project where you can reproduce this so that I could try to reproduce this.
I think there is a chance that recent change in Boot-reload 0.5.0 might have fixed this: https://github.com/adzerk-oss/boot-reload/commit/9f430b2aa9acd06d45ae7e72ade569fb178a6c21
I have not seen this myself in 5 months and I don't recall anyone at work mentioning this since the change, so I'll presume this was fixed.
Except Boot-cljs-repl still uses the old way to inject code to the build: https://github.com/adzerk-oss/boot-cljs-repl/blob/master/src/adzerk/boot_cljs_repl.clj#L168
I did see this exception in some configuration, but don't remember what caused this. Now I have several projects working with Cljs 1.9.854, Boot-cljs and Cljsjs packages.
Are you using `:modules`?
Seems ordinary. Do you have .cljs.edn file? I just updated Saapas to use latest deps: https://github.com/Deraen/saapas, works for me. You could check that to validate if this is something with...
Without .cljs.edn boot-cljs will compile ALL .cljs file in fileset, even those that are not needed by your :preloads or :main, which sometimes causes strange problems.
Boot-cljs overwrites the warning-handler to store the warnings in the fileset metadata, so that is not going to work with Boot-cljs current: https://github.com/adzerk-oss/boot-cljs/blob/master/src/adzerk/boot_cljs/impl.clj#L91 Boot-cljs could add the handler to those...