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

Not able to build Cordova projects #73

Closed jln1989 closed 7 years ago

jln1989 commented 7 years ago

Hi, First I would like to thank you guys for the awesome plugin. Am trying to create set of VSTS tasks for a very simple cordova app.

I have build the app in the machine which is our build agent and its working fine without any problem. While am trying to run the task from VSTS online it is giving me the below error.

FAILURE: Build failed with an exception. 2017-08-21T10:26:24.3382014Z 2017-08-21T10:26:24.3382014Z * What went wrong: 2017-08-21T10:26:24.3382014Z Unable to start the daemon process. 2017-08-21T10:26:24.3382014Z This problem might be caused by incorrect configuration of the daemon. 2017-08-21T10:26:24.3382014Z For example, an unrecognized jvm option is used.

These are my node, npm and cordova versions present in the build agent machine.

npm -v --> 3.10.10 node -v --> 6.11.0 cordova -v --> 7.0.1

Can someone let me know what is that am doing wrong?

jln1989 commented 7 years ago

Am closing this as it got resolved after restarting the service. The service account had some issues and once the credentials were set properly it was successful.