This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-29
Channels
- # announcements (5)
- # beginners (25)
- # calva (53)
- # clj-kondo (9)
- # clojure (25)
- # clojure-europe (14)
- # clojure-nl (1)
- # clojure-norway (21)
- # clojure-uk (1)
- # conjure (2)
- # data-science (1)
- # datalevin (4)
- # datascript (6)
- # deps-new (5)
- # emacs (5)
- # etaoin (6)
- # figwheel-main (1)
- # fulcro (46)
- # gratitude (3)
- # hyperfiddle (8)
- # introduce-yourself (13)
- # lsp (13)
- # nextjournal (5)
- # off-topic (2)
- # pathom (4)
- # polylith (11)
- # re-frame (16)
- # releases (4)
- # scittle (67)
- # shadow-cljs (38)
- # slack-help (4)
- # specter (13)
- # sql (29)
- # squint (21)
- # test-check (3)
- # vim (13)
- # xtdb (15)
Hello, I am trying to install clj-new on my windows setup. when I run the following in powershell, I get the error of invalid tag in git.
(base) PS C:> clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag "v1.2.399"}' :as clj-new
Execution error (ExceptionInfo) at clojure.tools.deps.alpha.extensions.git/coord-err (git.clj:44).
Library com.github.seancorfield/clj-new has invalid tag: v1.2.399
Any help? I've also attached the error log below
{:clojure.main/message
"Execution error (ExceptionInfo) at clojure.tools.deps.alpha.extensions.git/coord-err (git.clj:44).\r\nLibrary com.github.seancorfield/clj-new has invalid tag: v1.2.399\r\n",
:clojure.main/triage
{:clojure.error/class clojure.lang.ExceptionInfo,
:clojure.error/line 44,
:clojure.error/cause
"Library com.github.seancorfield/clj-new has invalid tag: v1.2.399",
:clojure.error/symbol
clojure.tools.deps.alpha.extensions.git/coord-err,
:clojure.error/source "git.clj",
:clojure.error/phase :execution},
:clojure.main/trace
{:via
[{:type clojure.lang.ExceptionInfo,
:message
"Library com.github.seancorfield/clj-new has invalid tag: v1.2.399",
:data
{:lib com.github.seancorfield/clj-new,
:coord
{:git/tag v1.2.399,
:git/sha "c82384e437a2dfa03b050b204dd2a2008c02a6c7"}},
:at
[clojure.tools.deps.alpha.extensions.git$coord_err
invokeStatic
"git.clj"
44]}],
:trace
[[clojure.tools.deps.alpha.extensions.git$coord_err
invokeStatic
"git.clj"
44]
[clojure.tools.deps.alpha.extensions.git$coord_err
invoke
"git.clj"
42]
[clojure.tools.deps.alpha.extensions.git$eval1404$fn__1406
invoke
"git.clj"
65]
[clojure.lang.MultiFn invoke "MultiFn.java" 239]
[clojure.tools.tools.api$install invokeStatic "api.clj" 45]
[clojure.tools.tools.api$install invoke "api.clj" 20]
[clojure.lang.AFn applyToHelper "AFn.java" 154]
[clojure.lang.AFn applyTo "AFn.java" 144]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.core$apply invokeStatic "core.clj" 667]
[clojure.core$apply invoke "core.clj" 662]
[clojure.run.exec$exec invokeStatic "exec.clj" 48]
[clojure.run.exec$exec doInvoke "exec.clj" 39]
[clojure.lang.RestFn invoke "RestFn.java" 423]
[clojure.run.exec$_main$fn__205 invoke "exec.clj" 180]
[clojure.run.exec$_main invokeStatic "exec.clj" 176]
[clojure.run.exec$_main doInvoke "exec.clj" 139]
[clojure.lang.RestFn applyTo "RestFn.java" 137]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.core$apply invokeStatic "core.clj" 667]
[clojure.main$main_opt invokeStatic "main.clj" 514]
[clojure.main$main_opt invoke "main.clj" 510]
[clojure.main$main invokeStatic "main.clj" 664]
[clojure.main$main doInvoke "main.clj" 616]
[clojure.lang.RestFn applyTo "RestFn.java" 137]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.main main "main.java" 40]],
:cause
"Library com.github.seancorfield/clj-new has invalid tag: v1.2.399",
:data
{:lib com.github.seancorfield/clj-new,
:coord
{:git/tag v1.2.399,
:git/sha "c82384e437a2dfa03b050b204dd2a2008c02a6c7"}}}}
✅ 2
I figured it out
the command to run on windows is clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag \"v0.4.13\"}' :as new
in powershell special '\' are needed for demarking strings!!