This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-29
Channels
- # aleph (4)
- # architecture (12)
- # bangalore-clj (1)
- # beginners (87)
- # boot (3)
- # cider (19)
- # cljs-dev (84)
- # clojars (10)
- # clojure (76)
- # clojure-italy (7)
- # clojure-nl (19)
- # clojure-russia (10)
- # clojure-spec (9)
- # clojure-uk (55)
- # clojurescript (64)
- # core-async (7)
- # core-typed (4)
- # cursive (7)
- # data-science (2)
- # datomic (8)
- # devcards (6)
- # docs (1)
- # duct (5)
- # fulcro (117)
- # graphql (1)
- # instaparse (1)
- # leiningen (13)
- # lumo (103)
- # nyc (3)
- # off-topic (54)
- # om (9)
- # onyx (1)
- # pedestal (6)
- # planck (3)
- # portkey (7)
- # re-frame (26)
- # reagent (20)
- # ring-swagger (14)
- # shadow-cljs (164)
- # sql (11)
- # tools-deps (25)
- # yada (1)
Does anyone have a deps.edn snippet or advice on how to get a browser based CLJS app running, with an nREPL that Cider is able to reach? Basically like the new CLJS quickstart guide, except with the REPL in emacs instead.
@hagmonk the new cider should inject all the necessary deps as long as you have a deps.edn
in the root folder
Also better ask this in #cider
@richiardiandrea to rephrase my question so that it's not being confused with something cider specific: does anyone have a deps.edn snippet or advice on how to get a browser based CLJS app running, using cljs.main
, such that it starts an nREPL server rather than an interactive terminal REPL?
Do not have that, but it would be a very small variation of this gist: https://gist.github.com/arichiardi/8ad47f5edf185876e82015739f038a22
Still believe some folks can help you in #cider
Hi there! I have a question about :default-deps
. Does anybody have a good example how to use it? Official documentation tells it provides a set of default coordinate versions to use if no coordinate is specified. But how I can not specify coordinate versions for the :deps
or :extra-deps
?
This area is a little incomplete and there is not really a great story around how to use it yet
There is my case if you are interested: I’m trying to create “monorepo” with root deps.edn and a few “sub-projects” with their own local deps.edn. I would like to have a list of all used dependencies with their coordinates as a :default-deps
in root deps.edn. All local deps.edn files should have only a list of dependencies without coordinates specified.
yeah, this is in line with what we intended but there needs to be another round of thinking on how to make this a reality
:thumbsup:
Hi guys, One of my transitive deps is trying to pull javax.activation and running into this error:
Error building classpath. Could not find artifact activation:activation:jar:1.0.2 in central ( )
org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact activation:activation:jar:1.0.2 in central ( )
Turns out the jar is not available in maven but it is available in one of the adobe public repos.
So I added
{:mvn/repos {"adobe-public" {:url ""}}}
Now this only works if javax.activation is a direct dependency but not when it is a transitive dep.
Also, the jar is available in maven local but I am still running into this.I've seen some funky poms where the pom actually refers to other repositories and those are transitively picked up.
@shakdwipeea are you getting to these transitive deps through a maven dep or a local/git dep?
@alexmiller It is coming through a git dep. I also tried with https://jitpack.io to use it as a mvn dep but that also didn't work. The funny thing is that the required dep is present in my maven local but still this fails.
FWIW the dep is a java project and uses maven.
Yeah this is a known issue with git and local deps not picking up the repos in the pom
Or at least I thought it was, I don’t see a ticket for it. I’d be happy to have a ticket with more specific details so I can take a look
I'll try to create a minimal repro and file a ticket.
I tried to reproduce the issue on a new repo. https://github.com/shakdwipeea/tdeps-transitive-repo-test Now when you clj -A:test-git
it fails with the message that
`
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact activation:activation:jar:1.0.2 in central ( )
The same deps works with the boot file that is present in the repo. The interesting thing is that
when I do boot show -d
, I get
[com.github.shakdwipeea/smtp "0.3.1"]
└── [javax.javaee/javaee "6.0-alpha-1"]
├── [javax.activation/activation "1.1-rev-1"]
...
This uses the version 1.1-rev-1
which is available in the maven repo.
The 1.0.2 version should not even be fetched.
I am not sure if I am doing sth wrong, so wanted to consult before opening a ticket.@alexmiller how does one contribute to the tools.deps.alpha github wiki? I wanted to put a link to depify, and @seancorfield's clj-new.
it’s a wiki - anyone should be able to edit
I tried to reproduce the issue on a new repo. https://github.com/shakdwipeea/tdeps-transitive-repo-test Now when you clj -A:test-git
it fails with the message that
`
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact activation:activation:jar:1.0.2 in central ( )
The same deps works with the boot file that is present in the repo. The interesting thing is that
when I do boot show -d
, I get
[com.github.shakdwipeea/smtp "0.3.1"]
└── [javax.javaee/javaee "6.0-alpha-1"]
├── [javax.activation/activation "1.1-rev-1"]
...
This uses the version 1.1-rev-1
which is available in the maven repo.
The 1.0.2 version should not even be fetched.
I am not sure if I am doing sth wrong, so wanted to consult before opening a ticket.