14. November 2014 18:22
If you are using nodejs during your build in Visual Studio Online and your builds started to fail then you can blame the VSO team :).
You probably received the following error:
node : The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
In short, they recently published a new Build Virtual Machine image and forgot to add nodejs folder to the PATH environment variable. The team is fixing the issue, but it takes them a few days for the new VM to go online. In the meantime you have two options:
1. Use the full path: C:\Program Files\nodejs\node
2. If you are using PowerShell add the folder to the PATH: