webdriver-ionode-gypazure-pipelines-tasksazure-agent

Azure pipeline fails node-gyp error at yarn install task


I am running wdio test on azurepipelines on windows agent while upgrading from Node12 to Node14 getting error in yarn install any help is appreciated

enter image description here

enter image description here

enter image description here


Solution

  • We had to fix two things to resolve this as the above answer suggest I need to install python for all users in the azure agent

    secondly I need to update the visual studio build tools to include the C++ development options

    enter image description here