This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-16
Channels
- # 100-days-of-code (1)
- # announcements (1)
- # beginners (93)
- # boot (46)
- # cider (40)
- # cljdoc (4)
- # cljs-dev (7)
- # clojure (78)
- # clojure-conj (12)
- # clojure-dev (17)
- # clojure-italy (5)
- # clojure-nl (10)
- # clojure-spec (34)
- # clojure-uk (36)
- # clojurescript (56)
- # code-reviews (6)
- # core-async (31)
- # cursive (12)
- # datascript (9)
- # datomic (19)
- # devops (2)
- # editors (3)
- # emacs (6)
- # events (2)
- # figwheel (1)
- # figwheel-main (11)
- # fulcro (59)
- # graphql (10)
- # hyperfiddle (3)
- # keechma (5)
- # leiningen (26)
- # luminus (1)
- # nrepl (5)
- # re-frame (5)
- # reitit (10)
- # shadow-cljs (64)
- # spacemacs (29)
- # tools-deps (6)
- # uncomplicate (8)
- # vim (2)
- # yada (4)
I cannot for the life of me figure out how I messed up leiningen but I have uninstalled / reinstalled and am just baffled. I am a beginner btw. I am for example trying to use the pedestal template.
lein new pedestal-service iotmeow
Failed to resolve version for pedestal-service:lein-template:jar:RELEASE: Could not find metadata pedestal-service:lein-template/maven-metadata.xml in local (/Users/dan/.m2/repository)
Failed to resolve version for pedestal-service:lein-template:jar:RELEASE: Could not find metadata pedestal-service:lein-template/maven-metadata.xml in local (/Users/dan/.m2/repository)
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Could not find template pedestal-service on the classpath.
Leiningen uses a couple “hidden” directories, ~/.lein
and ~/.m2
. If you want a really clean re-install, you can try 1) uninstall lein 2) rename .lein
to old.lein
, 3) rename .m2
to old.m2
and 4) re-install lein
(I prefer to rename dirs instead of just deleting them so I can “undo” the deletion if I want)
Hmm still nothing. I am just working from home on my normal wifi and this has worked before. Not behind a proxy.
Odd. Well, at this point you’ve got new .lein
and .m2
dirs, if you want you can delete them and name the old.lein
and old.m2
back, might save you some download time on other projects.
As to the error you’re getting, not sure why that is
I just tried lein new pedestal-service iotmeow
locally, and it came right up for me, no errors.
@dfcarpenter what version of lein are you using?
2.8.1
Yes 🙂
It just tells me that the classpath is Leiningen's classpath: :/usr/local/Cellar/leiningen/2.8.1/libexec/leiningen-2.8.1-standalone.jar
Not a great answer, but maybe try just to see, putting:
[pedestal-service/lein-template "0.5.4"]
Odd I changed java versions and it worked. I switched from jdk 10.0.2 to jdk 11
So I had initially setup my new macbook with 11. But ran into some issues then went down to 10 and things had been a little wonky with lein and a few other things. Now I just switched back to 11 and lein seems to be happy again