This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-24
Channels
- # aws (14)
- # beginners (111)
- # boot (12)
- # cider (1)
- # cljsrn (7)
- # clojure (65)
- # clojure-dusseldorf (1)
- # clojure-germany (7)
- # clojure-greece (10)
- # clojure-italy (13)
- # clojure-poland (7)
- # clojure-russia (7)
- # clojure-spec (53)
- # clojure-uk (29)
- # clojurescript (27)
- # community-development (9)
- # cursive (2)
- # data-science (1)
- # datomic (17)
- # emacs (16)
- # events (6)
- # fulcro (155)
- # graphql (8)
- # instaparse (1)
- # leiningen (30)
- # lumo (29)
- # om-next (3)
- # other-languages (46)
- # pedestal (11)
- # portkey (7)
- # re-frame (13)
- # reagent (6)
- # ring (8)
- # rum (1)
- # shadow-cljs (75)
- # sql (1)
- # timbre (3)
- # unrepl (128)
When you depend on a jar, is it possible to exclude one or more namespaces from that jar?
it could be an issue if two projects defined the same namespace
can anyone give me a hand figuring out how to resolve this error?
$ lein repl
Could not transfer artifact org.clojure:tools.nrepl:jar:0.2.12 from/to central ( ): Connect to [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Could not transfer artifact org.clojure:tools.nrepl:jar:0.2.12 from/to clojars ( ): Connect to [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Could not transfer artifact clojure-complete:clojure-complete:jar:0.2.4 from/to central ( ): Connect to [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Could not transfer artifact clojure-complete:clojure-complete:jar:0.2.4 from/to clojars ( ): Connect to [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Could not transfer artifact org.clojure:tools.nrepl:pom:0.2.12 from/to central ( ): Connect to [localhost/127.0.0.1] failed: Connection refused (Connection refused)
Could not transfer artifact clojure-complete:clojure-complete:pom:0.2.4 from/to central ( ): Connect to [localhost/127.0.0.1] failed: Connection refused (Connection refused)
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.
Exception in thread "Thread-1" clojure.lang.ExceptionInfo: Could not resolve dependencies {:suppress-msg true, :exit-code 1}
I've tried a complete reinstall and haven't had luck
of lein
@greg_arcara what operating system?
ubuntu
@noisesmith any ideas? I am close to reinstalling my OS
how did you install leiningen - did you get it from apt?
I downloaded the script and put it into my path
https://leiningen.org/#install Just like here
in that case I don't know why that would be failing, unless you have a weird host config for http://repo1.maven.org or maybe ~/.m2/ has bad permissions (eg. if you ran lein as root and now your user can't write to it)
but those are just wild guesses, sorry
Yea, I deleted both my /.m2 and /.lein folders before I installed the script
oh - is there a stack trace or anything? there are issues with keystores on ubuntu
It's not keystore
I don't know why it says connect to localhost
that seems weird to me
host is normal stuff
right, which is what made me think something might be up with your hosts config
but honestly I have no idea what's going on here
$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 ComputerName
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ok thanks, I appreciate you taking a look
ah maybe I should try freenode
yeah, that's where the actual leiningen devs hang out
I just noticed in the topic, thanks
Check your Java version too - older ones don’t handle the SNI SSL used by new Clojars CDN which is used by default in latest lein