Search code examples
node.jstfsgruntjstfsbuildtfs-2015

No agent could be found with the following capabilities: grunt


When I try to queue a build on my on-premises TFS 2015 Update 1 I get the following error message:

No agent could be found with the following capabilities: grunt

I've already installed NodeJS and grunt-cli and they're in the path (i.e. they can be executed in cmd from any location).

What am I missing?


Solution

  • Go to your pool settings page: http://SERV_NAME:8080/tfs/_admin/_AgentPool and select your agent, verify that grunt is added as a system capability with the correct path set. If it's not there, you can manually add it as a user capability

    enter image description here

    Something recalculates the system capabilities but I'm not sure what.