Alex Nordlund
Alex Nordlund
That's fair, the gist of it is that you create a `NpxTask` with `npxCommand` set to `grunt` and then you add the arguments you want as `args = ["your", "arguments",...
This is a feature we probably want to support in the future though, so I'm editing the title and re-opening this issue :-) Although for multiple reasons it's going to...
Oh, that's a mistake in the documentation. It should be `command` and not `npxCommand` As long as grunt is a dependency in your `package.json` and you add a dependency to...
I guess the easiest way forward would be to add an option to `download = false` to specify where node is, that'd let you work around this one by having...
There's two specific ways of working that this plugin supports, one is "always use this specific version of node" (`download = true`) and the other is "Use my own installation...
I suspect inherting from `Exec` won't be enough to solve this as there's an open issue that matches this https://github.com/gradle/gradle/issues/7603. To solve it we probably need to start `npm` through...
Weirdly enough I see the opposite behaviour: https://github.com/node-gradle/gradle-node-plugin/blob/06c0d5db77a1762929a56280eb6df91010fe835f/src/test/groovy/com/github/gradle/node/npm/task/NpmInstall_integTest.groovy#L84-L85 What npm version are you using?
I'm pretty sure they both share the same issue and will be fixed at the same time, but if it's only fixed in `Exec` it's probably going to be easy...
The test itself turns out to be broken, which is a little easier to confirm outside a plane 😅 But this seems like it could lead to cache poisoning and...
Pretty sure that'd have the same issue. https://github.com/gradle/gradle/issues/7603#issuecomment-448963470 > Thank you for the elaborate investigation! So we'd see similar issues if a program forked with `exec()` forked another program on...