Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Installation failed, could not locate the artifact for template #74

Closed
hjbolide opened this issue Sep 25, 2022 · 8 comments
Closed

Installation failed, could not locate the artifact for template #74

hjbolide opened this issue Sep 25, 2022 · 8 comments

Comments

@hjbolide
Copy link

hjbolide commented Sep 25, 2022

Hi,

Tried to install Kit following command:

clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag "v1.2.381"}' :as new

and

clojure -Tnew create :template io.github.kit-clj :name self/kit

Second command failed due to the following error:

Downloading: com/hypirion/io/0.3.1/io-0.3.1.jar from clojars
Downloading: pedantic/pedantic/0.2.0/pedantic-0.2.0.jar from clojars

Failed with (underlying error, possibly from Maven):
Could not find artifact io.github.kit-clj:deps-template:jar:0.1.28 in central (https://repo1.maven.org/maven2/)

Execution error (ExceptionInfo) at clj-new.helpers/resolve-remote-template (helpers.clj:176).
Could not locate the artifact for template: io.github.kit-clj
Tried coordinates:
{io.github.kit-clj/clj-template #:mvn{:version "RELEASE"}}
[io.github.kit-clj/boot-template "RELEASE"]
[io.github.kit-clj/lein-template "RELEASE"]

Any idea when the template would be re-instated in maven repo? or it has been moved permanently somewhere else?

@yogthos
Copy link
Collaborator

yogthos commented Sep 26, 2022

Hmm, I can't reproduce this locally on my machine. Might be worth cleaning maven cache in your ~/.m2/ folder.

@hjbolide
Copy link
Author

Blew away everything under ~/.m2, reinstalled clojure, re-ran those command, got stuck at the same place.
Also in this url: https://repo1.maven.org/maven2/io/github/, can't seem to find kit-clj at all?

@yogthos
Copy link
Collaborator

yogthos commented Sep 26, 2022

Ah ok, I tried blowing m2 away locally and can reproduce this now as well.

@yogthos
Copy link
Collaborator

yogthos commented Sep 26, 2022

@rads might be related to this?

@yogthos
Copy link
Collaborator

yogthos commented Sep 26, 2022

@hjbolide and should be back to working here, you may have to blow .m2/repository/io/github/kit-clj away again, but should work otherwise

@hjbolide
Copy link
Author

Yep confirmed it's working now, thanks a lot @yogthos.

@hjbolide
Copy link
Author

Closing the issue as it has been fixed.

@yogthos
Copy link
Collaborator

yogthos commented Sep 26, 2022

Thanks for the report, glad we got it sorted!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants