jitci icon indicating copy to clipboard operation
jitci copied to clipboard

How to install node modules before building android lib?

Open PratthamAroraUC opened this issue 3 years ago • 3 comments

my project depends on node modules as a dependency. Without it, my project fails to compile.

I have manually pushed all the node modules in my repo and after that, I can get my project to build on Jitpack.

However, this approach is not sustainable.

How can I install node modules automatically on Jitpack rather than committing them to my repo

PratthamAroraUC avatar Jun 21 '22 12:06 PratthamAroraUC

@jitpack-io any help here?

PratthamAroraUC avatar Jun 23 '22 04:06 PratthamAroraUC

any update on this? @jitpack-io

urbanclap-admin avatar Jul 01 '22 10:07 urbanclap-admin

Hi @PratthamAroraUC

You could use the custom commands in Init stage to install node/npm and then install npm packages.

jitpack-io avatar Sep 04 '22 09:09 jitpack-io