Fork me on GitHub
#lein-figwheel
<
2017-10-04
>
jumar07:10:04

Does anybody experience an issue when using latest clojure + clojurescript version with figwheel?

Compiling "target/cljsbuild/public/js/app.js" from ["src/cljs" "src/cljc" "env/dev/cljs"]...
Failed to compile "target/cljsbuild/public/js/app.js" in 7.485 seconds.
----  Could not Read  target/cljsbuild/public/js/out/cljs/core.cljs   line:988  column:14  ----

  No reader function for tag Inf

  986  (js-mod (Math/floor o) 2147483647)
  987  (case o
  988    ##Inf
              ^--- No reader function for tag Inf
  989    2146435072
  990    ##-Inf
  991    -1048576

----  Reader Error : Please see target/cljsbuild/public/js/out/cljs/core.cljs  ----

jumar08:10:04

Solved it. It was an issue with cljsbuild in general. mismatch in org.clojure/tools.reader version. I had to explicitly declare latest version in project.clj: [org.clojure/tools.reader "1.1.0"]

jeaye17:10:38

That issue shouldn't happen on the latest cljs, @jumar. Make sure you're on 1.9.946

jumar19:10:44

Sorry, I probably wasn't clear enough. It seems that for some reason, older version (required as a transitive dependency by some other lib) won over the "1.1.0" version which caused the error I mentioned. After stating the proper version of org.clojure/tools.reader explicitly in my project.clj it works ok.