Azure pipeline fails node-gyp error at yarn install task

308 views Asked by At

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

2

There are 2 answers

0
Royalyn H On BEST ANSWER

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

0
Nadir On

you need to fix python libraries and install python in ur system i faced the same error a while ago , fixed it with re-installing python