omcljs / om

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

Readme Quick Start compilation fails @ bumping cljs version from 1.10.520 -> 1.10.597 #915

Open kj3x39 opened 2 years ago

kj3x39 commented 2 years ago

Hi all, I was able to get the Quick Start from the Readme to compile to the first "Om Tutorial!" title bar simple render with the dependencies and versions listed, but upon bumping the CLJS dependency to the next version, 1.10.597, the compilation breaks:

1.10.520:

➜  om-tutorial rlwrap lein run -m clojure.main script/figwheel.clj

Figwheel: Starting server at http://0.0.0.0:3449
Figwheel: Watching build - dev
Figwheel: Cleaning build - dev
Compiling build :dev to "resources/public/js/main.js" from ["src"]...

...

Successfully compiled build :dev to "resources/public/js/main.js" in 1.551 seconds.

1.10.597:

➜  om-tutorial rlwrap lein run -m clojure.main script/figwheel.clj

Figwheel: Starting server at http://0.0.0.0:3449
Figwheel: Watching build - dev
Figwheel: Cleaning build - dev
Compiling build :dev to "resources/public/js/main.js" from ["src"]...

...

Compiling resources/public/js/om/next.cljc to resources/public/js/om/next.js
Failed to compile build :dev from ["src"] in 3.854 seconds.
----  Could not Compile  resources/public/js/om/next.cljc  ----

  failed compiling file:resources/public/js/om/next.cljc

----  Compiler Error : Please see resources/public/js/om/next.cljc  ----

I've been becoming interested again in participating in the ClojureScript community. @swannodette it seems like great work has been done on krell for React Native, but is Om / Om Next still your tool of choice for web? If so, can we try getting this repo up to date with the latest releases of Clojure and CLJS?

Thanks in advance!