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
I couldn't get the accepted solution to work. The problem for me was that TeamCity services (server and agent) were running under system accounts. AFAIK, there is no concept of "globally install npm package for all users of the OS". So I:
From there, the NodeJS, NPM and Grunt tasks just started working.