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

0 votes
in tools.deps by
closed by
I have installed clj on Windows without problems but when I do:

clojure -Sdeps '{:deps {friendly {:git/url "https://gist.github.com/bhb/2686b023d074ac052dbc21f12f324f18" :sha "418bf66fd96851cc55398b55d5a8aff65692f565"}}}' -m friendly

I get this error:

Error while parsing option "--config-data {:deps {friendly {:git/url https://gist.github.com/bhb/2686b023d074ac052dbc21f12f324f18
:sha 418bf66fd96851cc55398b55d5a8aff65692f565}}}":
java.lang.RuntimeException: Invalid token: https://gist.github.com/bhb/2686b023d074ac052dbc21f12f324f18

3 Answers

0 votes
by
_Comment made by: lread_

The double quotes need escaping on PowerShell:

 clojure -Sdeps '{:deps {friendly {:git/url ""https://gist.github.com/bhb/2686b023d074ac052dbc21f12f324f18"" :sha ""418bf66fd96851cc55398b55d5a8aff65692f565""}}}' -m friendly
0 votes
by

Comment made by: lread

See also TDEPS-133

0 votes
by
Reference: https://clojure.atlassian.net/browse/TDEPS-121 (reported by seancorfield)
...