omcljs / om

ClojureScript interface to Facebook's React
6.65k stars 362 forks source link

in intermediate tutorial, lein figwheel hangs #797

Closed jstoner closed 8 years ago

jstoner commented 8 years ago

There are a bunch of dependency conflicts in the dependencies for the intermediate tutorial. When I get to the point of invoking figwheel it just hangs. They're pretty tangled, so I just restarted from the ones in the basic tutorial, which are more up to date, and which work. I resolved a couple more conflicts there, and added the more current instaparse to resolve the Stringbuffer ArityException, and ended up with

  :dependencies [[org.clojure/clojure "1.8.0"]
                 [org.clojure/clojurescript "1.9.229"
                    :exclusions [com.google.guava/guava]]
                 [org.clojure/core.async "0.2.391"
                    :exclusions [org.clojure/tools.reader]]
                 [instaparse "1.4.1"]
                 [cljsjs/react "15.3.1-0"]
                 [cljsjs/react-dom "15.3.1-0"]
                 [sablono "0.7.3"]
                 [org.omcljs/om "1.0.0-alpha46" :exclusions [commons-codec]]
                 [ring "1.3.2"]
                 [compojure "1.3.1"]
                 [com.datomic/datomic-free "0.9.5404" 
                     :exclusions [joda-time commons-codec]]]

 :plugins [[lein-figwheel "0.5.8"]
            [lein-cljsbuild "1.1.4"]]

which lein deps :tree says is clean, but now I'm back to figwheel hanging on me. I get a blank page, no hello world or anything. I'm not sure what else to try.

jstoner commented 8 years ago

Interesting. I went with the code from

https://github.com/bensu/om-intermediate-tut

did a lein cleanand restarted and reloaded and it worked. Still would be happier to see it Just Work (and be based on a more up-to-date set of libraries), but I am good. I will move on, though I recommend the maintainers don't.