Fork me on GitHub
#figwheel-main
<
2018-11-13
>
Garrett Hopper01:11:51

@bhauman @raymcdermott, the WARNING: preload namespace figwheel.core does not exist error appears to be turned on and off by the commenting of my require to [clojure.core.specs.alpha]. Were you using that as well, @raymcdermott, when you had the issue?

manuel07:11:32

WRT the error I have with latest ring, if I use figwheel-main 0.2.0-SNAPSHOT, I get this: Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/http/HostPortHttpField, compiling:(ring/adapter/jetty.clj:28:9). Investigation continues.

Ahmed11:11:05

i am not able to work figwheel-main with cider, here is how i tried

clj -A:rebel:nrepl:fig

Ahmed11:11:45

(require '[cider-nrepl.main :refer [init]])
 (init ["cider.nrepl/cider-middleware"])
 (require '[figwheel.main.api :as fig])
 (fig/start {:mode :serve} "devops")

Ahmed11:11:34

and on emacs side

Ahmed11:11:58

in jackced in cider by cider-connect

Ahmed11:11:41

but then in repl when i attempt to start cljs repl by -

Ahmed11:11:57

(fig/cljs-repl "devops")

Ahmed11:11:09

i got an error

Ahmed11:11:27

that is -

Unhandled clojure.lang.ExceptionInfo
   Failed to launch Figwheel CLJS REPL: nREPL connection found but
   unable to load piggieback.  This is commonly caused by A) not
   providing piggieback as a dependency and/or B) not adding
   piggieback middleware into your nrepl middleware chain.  Please see
   the documentation for piggieback here
   
   
   Note: Cider will inject this config into your project.clj.  This
   can cause confusion when your are not using Cider.

genRaiy12:11:40

@ghopper not in my case - spec seems to work fine. I think I must have had some junk in the trunk.

Garrett Hopper15:11:39

Huh, interesting

athomasoriginal23:11:15

Can anyone confirm if figwheel installs any version of React on its own? I did a quick search through the figwheel-main documentation guide and cannot find a direct response to this.