Monday, 3 April 2017

TFS 2017 on-premise cannot find node modules in cmd

How to run npm modules in tfs agent running as a service?

Here's my setup.

I setup agent on local machine with TFS 2017 running on-premise. And I try to build aurelia application on agent running as a service. I already have installed node, aurelia cli and npm in machine where the agent run. It was globally accessed running manually cmd with command au build(aurelia cli build). However when I create a Command Line build step running au(Tool) and build(Arguments) the agent does not find au.

I think it will also not find other npm modules.



via janmvtrinidad

No comments:

Post a Comment