Fork me on GitHub
#figwheel-main
<
2018-11-12
>
Garrett Hopper03:11:37

I'm seeing WARNING: preload namespace figwheel.core does not exist whenever Figwheel tries to reload with 0.2.0-SNAPSHOT and ClojureScript 1.10.439. I still don't have a minimum test case though, so I'm not sure what about my config is actually causing it.

Garrett Hopper04:11:42

I also started noticing this in the console.

Garrett Hopper04:11:06

I also started noticing this in the console:

base.js:677 goog.require could not find: figwheel.core
goog.logToConsole_ @ base.js:677
goog.require @ base.js:709
(anonymous) @ (index):10
base.js:711 Uncaught Error: goog.require could not find: figwheel.core
    at Object.goog.require (base.js:711)
    at (index):10

manuel07:11:08

hi everybody. Using latest figwheel-main, and ring version 1.7.1 results in this:

Exception in thread "main" clojure.lang.ExceptionInfo: Figwheel: Unable to dynamicly load figwheel.server.jetty-websocket/run-server {:not-loaded figwheel.server.jetty-websocket/run-server}, compiling:(/tmp/form-init3929506755141738004.clj:1:73)
	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)
	at clojure.main$init_opt.invokeStatic(main.clj:280)
	at clojure.main$init_opt.invoke(main.clj:280)
	at clojure.main$initialize.invokeStatic(main.clj:311)
	at clojure.main$null_opt.invokeStatic(main.clj:345)
	at clojure.main$null_opt.invoke(main.clj:342)
	at clojure.main$main.invokeStatic(main.clj:424)
	at clojure.main$main.doInvoke(main.clj:387)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.lang.Var.applyTo(Var.java:702)
	at clojure.main.main(main.java:37)
Caused by: clojure.lang.ExceptionInfo: Figwheel: Unable to dynamicly load figwheel.server.jetty-websocket/run-server {:not-loaded figwheel.server.jetty-websocket/run-server}
	at clojure.core$ex_info.invokeStatic(core.clj:4739)
	at clojure.core$ex_info.invoke(core.clj:4739)
	at figwheel.repl$dynload.invokeStatic(repl.cljc:1076)
	at figwheel.repl$dynload.invoke(repl.cljc:1072)
	at figwheel.repl$run_default_server_STAR_.invokeStatic(repl.cljc:1095)
	at figwheel.repl$run_default_server_STAR_.invoke(repl.cljc:1092)
	at figwheel.repl$run_default_server.invokeStatic(repl.cljc:1129)
	at figwheel.repl$run_default_server.invoke(repl.cljc:1128)
	at figwheel.repl$setup.invokeStatic(repl.cljc:1198)
	at figwheel.repl$setup.invoke(repl.cljc:1193)
	at figwheel.repl.FigwheelReplEnv._setup(repl.cljc:1299)
	at cljs.repl$repl_STAR_$fn__6588.invoke(repl.cljc:942)
	at cljs.compiler$with_core_cljs.invokeStatic(compiler.cljc:1289)
	at cljs.compiler$with_core_cljs.invoke(compiler.cljc:1278)
	at cljs.repl$repl_STAR_.invokeStatic(repl.cljc:940)
	at cljs.repl$repl_STAR_.invoke(repl.cljc:855)
	at rebel_readline.cljs.repl$eval11730$repl_STAR___11731.invoke(repl.clj:77)
	at clojure.lang.Var.invoke(Var.java:385)
	at figwheel.main$repl.invokeStatic(main.cljc:1565)
	at figwheel.main$repl.invoke(main.cljc:1522)
	at figwheel.main$repl_action.invokeStatic(main.cljc:1577)
	at figwheel.main$repl_action.invoke(main.cljc:1572)
	at figwheel.main$default_compile.invokeStatic(main.cljc:1852)
	at figwheel.main$default_compile.invoke(main.cljc:1812)
	at figwheel.main$repl_main_opt.invokeStatic(main.cljc:586)
	at figwheel.main$repl_main_opt.invoke(main.cljc:577)
	at cljs.cli$main.invokeStatic(cli.clj:636)
	at cljs.cli$main.doInvoke(cli.clj:625)
	at clojure.lang.RestFn.applyTo(RestFn.java:139)
	at clojure.core$apply.invokeStatic(core.clj:659)
	at clojure.core$apply.invoke(core.clj:652)
	at cljs.main$_main.invokeStatic(main.clj:61)
	at cljs.main$_main.doInvoke(main.clj:52)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.core$apply.invokeStatic(core.clj:657)
	at clojure.core$apply.invoke(core.clj:652)
	at figwheel.main$_main$fn__9074.invoke(main.cljc:2165)
	at clojure.core$with_redefs_fn.invokeStatic(core.clj:7434)
	at clojure.core$with_redefs_fn.invoke(core.clj:7418)
	at figwheel.main$_main.invokeStatic(main.cljc:2163)
	at figwheel.main$_main.doInvoke(main.cljc:2142)
	at clojure.lang.RestFn.invoke(RestFn.java:397)
	at clojure.lang.Var.invoke(Var.java:377)
	at user$eval543.invokeStatic(form-init3929506755141738004.clj:1)
	at user$eval543.invoke(form-init3929506755141738004.clj:1)
	at clojure.lang.Compiler.eval(Compiler.java:7062)
	at clojure.lang.Compiler.eval(Compiler.java:7052)
	at clojure.lang.Compiler.load(Compiler.java:7514)
	... 12 more
When I do lein fig, where fig is this alias in my project.clj:
"fig" ["trampoline" "run" "-m" "figwheel.main"]
Anyone else seen this?

grav08:11:21

I cannot get multiple watch-dirs to work. If I set :watch-dirs in my dev.cljs.edn to ["src" "src-test"], Figwheel says

[Figwheel] Watching paths: ("src-test") to compile build - dev
and changes to files in src aren’t registered.

pesterhazy13:11:12

@grav, watch-dirs is a figwheel setting so it should be either in the metadata in dev.cljs.edn or in figwheel-main.edn

👍 4