I\'m trying to run a simple gruntfile.js as part of my build in TeamCity. However, even after installing grunt and grunt-cli as global node packages, TeamCity s
Here is a complement to Christopher's answer (I don't have enough reputation to make a comment).
In case you don't want to create a user on build server, you can write full path to execute a npm package. Here is a command line runner to run Weyland without creating dedicated user on build server:
"C:\Program Files\nodejs\node.exe"c:\users\Administrator\AppData\Roaming\npm\node_modules\weyland\bin\cli.js buildBTW, it seems that the installer of Node.js has another solution. Unfortunately, it's trimmed!
Here is the screenshot of Node.js installer:
