[![enter image description here](https://i.stack.imgur.com/w0HF3.png)](https://i.stack.imgur.com/w0HF3.png)[![enter image description here](https://i.stack.imgur.com/Lee1Z.jpg)](https://i.stack.imgur.com/Lee1Z.jpg)

I am trying to build our team's UI through TFS 2015(vNext) on premises builds.
I am using Grunt build step in vNext to call a gruntjs file which will build all the grunt tasks.

Currently,the build is failing because of the task is not able to Start chrome and is timing out "Chrome have not captured in 60000 ms, killing." **I see it is able to start chrome for some grunt tasks but fails for some.** **When I run the grunt command directly calling the gruntjs file from cmdline or powershell console on the build server, it works perfectly fine but it fails from the vNext builds.**

I rolled back the chrome version to "51.0.2704.103 m" from "52.0.2743.116 m" and tried but still no success.

I went through the links which discuss the same issue. But I am not sure if this is a chrome issue as it works for some grunt tasks.

I am stuck with this since past week and on the verge of giving up, any help will be really great.

Thanks

**ERROR**

```
[32m31 08 2016 11:27:53.800:INFO [karma]: [39mKarma v0.13.22 server started at http://localhost:8888/
[32m31 08 2016 11:27:53.815:INFO [launcher]: [39mStarting browser Chrome
[33m31 08 2016 11:28:49.663:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[32m31 08 2016 11:28:49.757:INFO [launcher]: [39mTrying to start Chrome again (1/2).
[33m31 08 2016 11:28:53.834:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[32m31 08 2016 11:28:53.912:INFO [launcher]: [39mTrying to start Chrome again (1/2).
[33m31 08 2016 11:29:49.779:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[32m31 08 2016 11:29:49.842:INFO [launcher]: [39mTrying to start Chrome again (2/2).
[33m31 08 2016 11:29:53.931:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[32m31 08 2016 11:29:53.993:INFO [launcher]: [39mTrying to start Chrome again (2/2).
[33m31 08 2016 11:30:49.852:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[31m31 08 2016 11:30:49.930:ERROR [launcher]: [39mChrome failed 2 times (timeout). Giving up.
[33mWarning: Task "karma:ci" failed. Use --force to continue.[39m
[31mAborted due to warnings.[39m
    [33mWarning:  Use --force to continue.[39m

    [31mAborted due to warnings.[39m
Grunt failed with error: C:\Users\user1\AppData\Roaming\npm\grunt.cmd failed with return code: 6

```