Azure private build agent : No agent could be found with the following capabilities: npm, azureps

Viewed 6766

I am trying to use a local server as a build agent to build a project. The server already has

  • VS 2015,
  • VS 2017
  • Node 6,7,8 via NVM
  • NPM 4,5,6 via NVM

I can build the project locally via npm build or yarn build.

I have downloaded and configured and registered the private build agent already and I have it in the agent pool in the portal - xxx.visualstudio.com/xxx.

But when I try to schedule a build from the portal the following message is displayed :

No agent could be found with the following capabilities: npm, azureps

What do I need to fix so the build can run locally?

1 Answers
Related