rstedman / tfs-pullrequest-dashboard

tfs dashboard for pullrequests across all repos
MIT License
30 stars 29 forks source link

Unable to build/run from master #25

Closed dst3p closed 5 years ago

dst3p commented 6 years ago

I've forked the repository, and have followed the steps outlined in the ReadMe, however I was unable to successfully execute npm run start due to the following error:

[08:46:54] 'test' errored after 1.05 min
[08:46:54] Error: 1
at formatError (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\gulp\bin\gulp.js:169:10)
at Gulp.<anonymous> (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\gulp\bin\gulp.js:195:15)
at emitOne (events.js:116:13)
at Gulp.emit (events.js:211:7)
at Gulp.Orchestrator._emitTaskDone (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\orchestrator\index.js:264:8)
at C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\orchestrator\index.js:275:23
at finish (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\orchestrator\lib\runTask.js:21:8)
at cb (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\orchestrator\lib\runTask.js:29:3)
at Timeout.removeAllListeners [as _onTimeout] (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\karma\lib\server.js:380:7)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)

Commenting out the test function in the gulp file allowed compile

gulp.task('test', function(callback) {
    // new karma.Server({
    //     configFile: __dirname + '/karma.conf.js',
    //     singleRun: true
    // }, callback).start();
});

However, I'm still unable to start the service. Any help would be appreciated. I've updated the dev fields in appConfig.service.ts as indicated in the readme

image

Thanks!

rstedman commented 5 years ago

Some questions:

Sorry for the very delayed response.

dst3p commented 5 years ago

No worries! Thanks for getting back to me. I'm running this on Windows 10. I'll try running this today with the changes you've requested and report back.

dst3p commented 5 years ago

Sweet, that worked! Thank you. Now just have to get past a CORS issue in the browser.