microsoft / vsts-cordova-tasks

Streamline CI setup for your Apache Cordova, PhoneGap, Ionic, or Cordova CLI compatible app using a set of useful pre-defined build steps for VS Team Services or TFS
http://go.microsoft.com/fwlink/?LinkID=691188
Other
25 stars 27 forks source link

Fails to install node 0.12.7 #87

Open joseph-cloudthing opened 6 years ago

joseph-cloudthing commented 6 years ago

Attempting a build with an old version of Cordova (3.3.0) the task fails to install node:

2018-04-09T14:22:30.1965021Z Node > 4.0.0, downloading node 0.12.7
2018-04-09T14:22:30.2115096Z Node target: node-v0.12.7-linux-x86
2018-04-09T14:22:30.2140175Z Downloading /home/vsts/.node-version-cache/node-v0.12.7-linux-x86.tar.gz
2018-04-09T14:22:30.2160387Z "file" argument must be a non-empty string
2018-04-09T14:22:30.2445264Z ##[error]Task failed

This is on a private build runner.

Manually downloading & extracting node into ~/.node-version-cache/node-v0.12.7-linux-x86 allowed the build to continue without problems.

drewgillies commented 6 years ago

Hi @joseph-cloudthing --6.3.1 is the only version of Cordova we support, as it's the supported version in Visual Studio (and by extension vsts-cordova-tasks). Please let me know if you have a failure with 6.3.1 and we can track.