Write-Host"One of Gulp, Grunt, Cordova, or Yarn is not on the path."
exit1
}
if($(node--version)-match'v(?<version>.*)')
{
$nodeVersion=$Matches.version
$nodeArch=$(node-e"console.log(process.arch)")
}
$npmVersion=$(npm-version)
# Adding description of the software to Markdown
$SoftwareName="Node.js"
$GulpInfo="Gulp $(gulp-version)"
$GruntInfo="Grunt $(grunt-version)"
$YarnInfo="Yarn $(yarn-version)"
$Description=@"
_Version:_ $nodeVersion<br/>
_Architecture:_ $nodeArch<br/>
_Environment:_
* PATH: contains location of node.exe<br/>
* $GulpInfo<br/>
* $GruntInfo<br/>
* $YarnInfo<br/>
> Note: You can install and use another version of Node.js on Microsoft-hosted agent pools using the [Node tool installer](https://docs.microsoft.com/vsts/pipelines/tasks/tool/node-js) task.