lein-figwheel

jumar 2017-10-04T07:33:04.000180Z

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  ----

jumar 2017-10-04T08:06:04.000082Z

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"]

jeaye 2017-10-04T17:08:38.000299Z

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

jumar 2017-10-04T19:04:44.000499Z

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.