Fork me on GitHub
#figwheel-main
<
2022-08-05
>
Matt20:08:19

Hi all, I’ve run into an issue with figwheel/hot code reload in our app on my computer (other devs are fine on same commit). Fighweel’s initial compile seems to work. We haven’t been able to reproduce.

Figwheel: Starting server at 
Figwheel: Watching build - dev
Figwheel: Cleaning build - dev
Compiling build :dev to "resources/public/generated/js/PROJECT_NAME.js" from ["dev/client" "src/client"]...
Successfully compiled build :dev to "resources/public/generated/js/PROJECT_NAME.js" in 18.603 seconds.
Exception in thread "main" clojure.lang.ExceptionInfo: Error in component :figwheel-system in system com.stuartsierra.component.SystemMap calling #'com.stuartsierra.component/start {:reason :com.stuartsierra.component/component-function-threw-exception, :function #'com.stuartsierra.component/start, :system-key :figwheel-system, :component #figwheel_sidecar.system.FigwheelSystem{:system #object[clojure.lang.Atom 0x568720b2 {:status :ready, :val #<SystemMap>}]}, :system #<SystemMap>}, compiling:(/Users/NAME/PATH/PROJECT_NAME/v2/dev/scripts/figwheel.clj:3:1)
	at clojure.lang.Compiler.load(Compiler.java:7526)
	at clojure.lang.Compiler.loadFile(Compiler.java:7452)
	at clojure.main$load_script.invokeStatic(main.clj:278)

mikepjb07:08:34

It’s been a few days, so hopefully you’ve solved the problem Do you have any more info on this? we seem to be missing most of the stacktrace? if all else fails, I’d be tempted to remove your project local .cpcache directory

Matt00:08:07

Unfortunately I haven’t been able to solve this, but also I think I should have posted in the lein-figwheel channel. That’s what our project currently uses. I’m currently attempting to switch our project to figwheel-main as a solution to this.