I've found the plugin fails to setup node correctly in windows when I set the version to 5.X.Y as follows:
node {
version = "5.1.0"
download = true
}
After running the nodeSetup task, only node_modules/npm shown in the folder node-v5.1.0-win-x64(have ommitted the files within the npm folder), while there should be node.exe in it as well:
I'm using Windows 10 (Version 1709, OS Build 16299.611) with Gradle 4.10.1 + gradle-grunt-plugin 1.2.0
May I know whether it's not suuporting Nodejs with version 5.X.Y? As our project is tied up to that version, it would help a lot if we can make it work!
Hi,
I've found the plugin fails to setup node correctly in windows when I set the version to
5.X.Y
as follows:After running the
nodeSetup
task, onlynode_modules/npm
shown in the foldernode-v5.1.0-win-x64
(have ommitted the files within the npm folder), while there should benode.exe
in it as well:Even though gradle says the task has finished successfully:
However, if I update the version to
6.X.Y
or using the default version(6.9.1
) from the plugin, it can get thenode.exe
correctly:Here's the sample project I've created to reproduce the issue: https://github.com/alphaho/gradle-node-plugin-sample
I'm using Windows 10 (Version 1709, OS Build 16299.611) with Gradle 4.10.1 + gradle-grunt-plugin 1.2.0
May I know whether it's not suuporting Nodejs with version 5.X.Y? As our project is tied up to that version, it would help a lot if we can make it work!
Thanks in advance!