Welcome! Please see the About page for a little more info on how this works.

+1 vote
in ClojureScript by

There's an old bug that got reports of other people seeing too, that I now hit again, this time with a deps.edn project and in a CI setup. The old bug: https://github.com/emezeske/lein-cljsbuild/issues/490 - note the other people reporting that renaming the source directory or cloning toa differently named directory was a work-around.

Here's a rerun of the code at https://github.com/clojure/clojurescript/blob/r1.10.520/src/main/clojure/cljs/closure.clj#L1851 with the actual values replaced in:

cljs.closure=> *lp
cljs.closure=> *p
cljs.closure=> (subs *p (+ (inc (.lastIndexOf *p *lp)) (.length *lp)))

What eventually throws the exception is the (io/file out-dir out-name) call here:

because it's getting a path as the second argument beginning with "/" in out-name, returned by the rel-output-path call.

The openlayers dependency came from this line in deps.edn:

cljsjs/openlayers {:mvn/version "4.4.1-1"}

Please log in or register to answer this question.