Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Project Dependencies Not Present in package.json #69

Open
reenigneEsrever92 opened this issue May 18, 2018 · 3 comments
Open

Project Dependencies Not Present in package.json #69

reenigneEsrever92 opened this issue May 18, 2018 · 3 comments

Comments

@reenigneEsrever92
Copy link

I'm having a multi project build with three modules A, B, C.
Dependencies are i the same order:
A -> B -> C

Yet, I'm having trouble getting all the dependencies together in a single bundle.

Whenever I build module A I end up having module C present in module "A"s, yet not module B which is declared in my build.gradle:

dependencies {
    compile(":B")
}

Also module C is present in my package.json in my build folder as opposed to module B.

Why is that? And, does it need fixing?

@cy6erGn0m
Copy link
Contributor

I believe the problem is that dependency modules output dirs are not in module lookup paths so this is why it doens't work as intended. For sure we shouldn't install them to node_modules as it will be extremely slow

@reenigneEsrever92
Copy link
Author

ok, yet the transitive dependency would (C) would still end up there. What about that?

@reenigneEsrever92
Copy link
Author

I mean it's missing recursion here, isn't it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants