Alex Nordlund
Alex Nordlund
I just created a testcase and it seems to work as expected https://github.com/node-gradle/moved_node_modules Though I'm guessing that you really want `package.json` in `/` and `node_modules` located in `/build/node_modules` but looking...
It sounds like `NODE_PATH` would work slightly differently https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders But why do you want them to be separate? is it really a conflict? I mean they're both building the same...
It sounds like in your case you want `download = false` aka "use local node", that way you shouldn't have any mismatch. If you don't have or want node on...
Hmm, I guess you could set `nodeModulesDir` to a directory in build, make the install task depend on a `Copy` task which copies your package.json there (along with the sources...
Can you try running with `--info`? I tried with the same versions and it seems to work fine here
I think this might be possible to do already with [`execOverrides`](https://github.com/node-gradle/gradle-node-plugin/blob/master/docs/faq.md#how-do-i-customize-the-way-the-processes-are-launched) But if we're going to start exposing common settings (like `--registry` and `--frozen-lockfile`) I think this should also get...
I'll see if I can reproduce this when I get home, but the fact that you're getting console output means that you don't have to worry about the up-to-date, `nodeSetup`...
I've reproduced this in https://github.com/deepy/testcase but I can't see why the `project.exec()` fails in the plugin, but not in the specific tasks I set up. Will continue troubleshooting later on.
When changing the testcase like this the problem goes away, further troubleshooting necessary ``` node { version = '10.15.3' npmVersion = '6.9.0' download = true } ```
@gavingolden what does `npm --version` give you? On `6.4.1` the lint task fails for me, on `6.9.0` and `6.5.0` it works Hmm, it works for me if I specify a...