Share your thoughts in the 2024 State of Clojure Survey!

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

0 votes
in Clojure CLI by

The following code:

https://gist.github.com/vemv/0254e4f594626b090520f1da323f9476

(I used a gist due to this site's 12000 character limit)

...will fail with:

Unable to resolve org.clojure/clojure version: [1.2.1],[1.3.0]
{:lib org.clojure/clojure, :coord #:mvn{:version "[1.2.1],[1.3.0]"}}

Perhaps it's worth noting that [org.clojure/clojure #:mvn{:version "1.11.1"}] is already explicitly specified.

I'm using org.clojure/tools.deps "0.18.1354".

Thanks - V

by
I think it boils down to the fact that `calc-basis` doesn't download deps?

I am in fact calling `create-basis` beforehand. Could be some bug from my side, although in any case the exception isn't quite clear.

1 Answer

0 votes
by
selected by
 
Best answer

This was caused because of the lack of :mvn/repos in my call.

...