Yarn commands in Azure pipelines

Viewed 4689

I have used the below to build the code using yarn , which was perfectly working in Azure DevOps pipeline until yesterday

enter image description here

I am not sure what has changed, now its throwing the below error:

enter image description here

I have searched the error for exit code 127 but the solution is removing node_modules folder and rerunning. But this cannot be achieved in build agent. Any solutions that can be applied in this situation?

Update:

I used system.debug=true and below is the output: enter image description here

1 Answers

I found what was changed here overnight, InfraAdmin has changed microsoft hosted agent to self hosted agent , which didnt have yarn dependencies installed.

Related