I have been working on an app with one JS client a...
# javascript
s
I have been working on an app with one JS client and the server. I have split that into two separate clients, each as their own JS application, using the js plugin. However, with both in the same gradle root project (each are a subproject), I am getting “NPM Dependencies already resolved and installed” when building. If I build them separately, they each build fine, but when run as part of a larger build process, I get that error. Any insights?
a
cc @Ilya Goncharov [JB] Ilya, does this ring any bell for you?
i
Do you have sample project? Where do you declare js plugin? In root project with
apply false
section or you declare js plugin with version in each subproject? Could you please try to apply
NpmResolverPlugin
explicitly in eqch subproject?
Oh, and do you declare on of or both
browser()
or
nodejs()
?
s
I will put together a sample project. I am using
browser()
and I declare the js plugin with each subproject.