For some reason the local npm symlink in .gradle/nodejs/node-v6.4.0-XXX-x64/bin folder hasn't been established when running npm_install
Tried it under both linux and mac.
should be npm -> ../lib/node_modules/npm/bin/npm-cli.js
but instead its a zero sized file.
Here is a sample gradle file to reproduce.
version '1.0-SNAPSHOT'
buildscript {
ext {
}
repositories {
mavenCentral()
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.moowork.gradle:gradle-node-plugin:1.0.1"
}
}
apply plugin: 'com.moowork.node'
node {
version = "6.4.0"
download = true
}
task nodeInstall(type: NodeTask) {
}