I am using Visual Studio 2015 with Update 3 installed. I have a solution that contains an Angular 2 application written in TypeScript. This application was added to the solution by following Angular's own "5 minute quickstart" guide: https://angular.io/guide/quickstart
The angular application isn't even complete, in fact it has barely started development. All of the configuration files for the angular 2 project were taken directly from that guide and haven't been modified.
The solution builds just fine on my local machine. However, when I do a TFS check-in which kicks off a build the solution fails to build on the remote build server.
I am getting the following errors in the MSBuild step, and they're all TypeScript related:
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe --project "C:\[MY PATH GOES HERE]\tsconfig.json"
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe --project "C:\[My PATH GOES HERE]\tsconfig.json"
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.5\tsc.exe --sourcemap --target ES5 --noEmitOnError COMPUTE_PATHS_ONLY
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.5\tsc.exe --sourcemap --target ES5 --noEmitOnError
You'd better to make sure the environment on your build sever(build agent) are as same as your local. This will greatly reduce the risk of build failures.
In your situation, try to update TypeScript 1.5 to version 1.8 and queue the build again. If it's still not work, you can try to build manually on the build agent ( machine) not through tfs to narrow down the issue whether related to agent environment or the TFS build definition settings.