title: Azure private build agent : No agent could be found with the following capabilities: npm, azureps
body: <p>I am trying to use a local server as a build agent to build a project. The server already has </p>
  
  <ul>
  <li>VS 2015, </li>
  <li>VS 2017 </li>
  <li>Node 6,7,8 via NVM</li>
  <li>NPM 4,5,6 via NVM</li>
  </ul>
  
  <p>I can build the project locally via npm build or yarn build.</p>
  
  <p>I have downloaded and <a href="https://www.visualstudio.com/en-us/docs/build/actions/agents/v2-windows" rel="noreferrer">configured</a> and registered the private build agent already and I have it in the agent pool in the portal - xxx.visualstudio.com/xxx.</p>
  
  <p>But when I try to schedule a build from the portal the following message is displayed : </p>
  
  <blockquote>
    <p>No agent could be found with the following capabilities: npm, azureps</p>
  </blockquote>
  
  <p>What do I need to fix so the build can run locally?</p>