Uploaded image for project: 'ClojureScript'
  1. CLJS-2742

lein-doo fails with Clojurescript 1.10.238 (AOT version)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not Reproducible
    • Affects versions: 1.10.238
    • Fix versions: None
    • Labels:
      None

      Description

      Running this command: `lein doo chrome-headless test once`
      Results in:

      ```
      Exception in thread "main" java.lang.NoSuchMethodError: cljs.js_deps.IJavaScript._url(Ljava/lang/Object;)Ljava/lang/Object;, compiling/tmp/form-init7914580949796230591.clj:1:73)
      at clojure.lang.Compiler.load(Compiler.java:7526)
      at clojure.lang.Compiler.loadFile(Compiler.java:7452)
      at clojure.main$load_script.invokeStatic(main.clj:278)
      at clojure.main$init_opt.invokeStatic(main.clj:280)
      at clojure.main$init_opt.invoke(main.clj:280)
      at clojure.main$initialize.invokeStatic(main.clj:311)
      at clojure.main$null_opt.invokeStatic(main.clj:345)
      at clojure.main$null_opt.invoke(main.clj:342)
      at clojure.main$main.invokeStatic(main.clj:424)
      at clojure.main$main.doInvoke(main.clj:387)
      at clojure.lang.RestFn.applyTo(RestFn.java:137)
      at clojure.lang.Var.applyTo(Var.java:702)
      at clojure.main.main(main.java:37)
      Caused by: java.lang.NoSuchMethodError: cljs.js_deps.IJavaScript._url(Ljava/lang/Object;)Ljava/lang/Object;
      at cljs.closure$rel_output_path.invokeStatic(closure.clj:1706)
      at cljs.closure$rel_output_path.invoke(closure.clj:1698)
      at cljs.closure$write_javascript.invokeStatic(closure.clj:1856)
      at cljs.closure$write_javascript.invoke(closure.clj:1850)
      at cljs.closure$source_on_disk.invokeStatic(closure.clj:1899)
      at cljs.closure$source_on_disk.invoke(closure.clj:1894)
      at cljs.closure$build$fn__5906.invoke(closure.clj:2825)
      at clojure.core$map$fn__5587.invoke(core.clj:2747)
      at clojure.lang.LazySeq.sval(LazySeq.java:40)
      at clojure.lang.LazySeq.seq(LazySeq.java:49)
      at clojure.lang.RT.seq(RT.java:528)
      at clojure.core$seq__5124.invokeStatic(core.clj:137)
      at clojure.core$dorun.invokeStatic(core.clj:3125)
      at clojure.core$doall.invokeStatic(core.clj:3140)
      at clojure.core$doall.invoke(core.clj:3140)
      at cljs.closure$build.invokeStatic(closure.clj:2825)
      at cljs.closure$build.invoke(closure.clj:2718)
      at cljs.build.api$build.invokeStatic(api.clj:208)
      at cljs.build.api$build.invoke(api.clj:189)
      at cljs.build.api$build.invokeStatic(api.clj:195)
      at cljs.build.api$build.invoke(api.clj:189)
      at user$eval27281.invokeStatic(form-init7914580949796230591.clj:1)
      at user$eval27281.invoke(form-init7914580949796230591.clj:1)
      at clojure.lang.Compiler.eval(Compiler.java:7062)
      at clojure.lang.Compiler.eval(Compiler.java:7052)
      at clojure.lang.Compiler.load(Compiler.java:7514)
      ... 12 more
      Subprocess failed
      ```

      See https://github.com/JoelSanchez/cljs-aot-doo-repro

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alex+import import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: