This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-09
Channels
- # beginners (20)
- # boot (4)
- # cider (2)
- # cljs-dev (25)
- # clojure (45)
- # clojure-dev (1)
- # clojure-greece (5)
- # clojure-italy (20)
- # clojure-nl (12)
- # clojure-russia (11)
- # clojure-uk (256)
- # clojurescript (176)
- # data-science (33)
- # datomic (47)
- # docs (1)
- # duct (13)
- # fulcro (54)
- # graphql (24)
- # hoplon (3)
- # jobs (1)
- # leiningen (32)
- # luminus (3)
- # midje (1)
- # mount (2)
- # off-topic (3)
- # onyx (5)
- # overtone (1)
- # parinfer (12)
- # pedestal (4)
- # re-frame (60)
- # reagent (11)
- # reitit (3)
- # ring-swagger (21)
- # rum (1)
- # shadow-cljs (16)
- # spacemacs (23)
- # tools-deps (19)
- # vim (79)
seems like there’s a bug with git deps where top-level :paths
applies instead of the defaults or whatever is supplied in the git deps.edn
Yes, there is a ticket for it
Worse than the silently ignoring problem, I seem to have encountered a case where all aliases are ignored if one of them is not present.
I’m planning to look at this today
fwiw, they weren't all ignored. Just no fetching took place. I haven't looked hard at this, but it confused me.
I seem to be running into an issue with local deps. If I have this directory structure
app
lib1
lib2
with app/deps.edn
as
{:deps {lib2 {:local/root "lib2"}}}
and lib1/deps.edn
as
{:deps {}}
and lib2/deps.edn
as
{:deps {lib1 {:local/root "../lib1"}}}
and I run clj -Spath
in the app
directory, I get this message:
Error building classpath. Manifest type not detected when finding deps for lib2/lib2 in coordinate #:local{:root "lib2"}
Are nested local dependencies supposed to work?Shouldn’t your app one have ../lib2 ?
Oh wow, I came here to report the same thing, except I've had lunch so I know it's a bug :)
I think I'm hitting the same problem with a slightly different directory structure. Except this time it is correct.
lib1
lib2
samples/sample1
with lib1/deps.edn
as
{:deps {}}
and lib2/deps.edn
as
{:deps {lib1 {:local/root "../lib1"}}}
and samples/sample1/deps.edn
as
{:deps {lib2 {:local/root "../../lib2"}}}
and I run clj -Spath
in the samples/sample1
directory, I get this message:
Error building classpath. Manifest type not detected when finding deps for lib1/lib1 in coordinate #:local{:root "../lib1"}
Yeah same issue:
./libs/dep-b
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}}}
./libs/dep-a
{:deps {dep-b {:local/root "../dep-b"}}}
./apps/foo-app
{:deps {dep-a {:local/root "../../libs/dep-a"}}}
I can work around it by having libs/dep-a refer to ../../libs/dep-b
instead, but that is only a coincidence in this case, if apps
was one level deeper it wouldn't work
looks like it's already reported here: https://dev.clojure.org/jira/browse/TDEPS-74