Hi!
We are using Angular 2.4.8 and we run a continuous build in teamcity. When 
running our javascript unit tests using Karma we sometimes get the 
following error:

[Step 7/8] JavaScript Unit Tests (20s)
[12:09:28][JavaScript Unit Tests] 14 03 2017 12:09:28.773:INFO 
[compiler.karma-typescript]: Compiled 221 files in 8718 ms.
[12:09:30][JavaScript Unit Tests] 14 03 2017 12:09:30.632:INFO 
[builtin-bundler.karma-typescript]: Bundled imports for 161 file(s) in 1298 
ms.
[12:09:33][JavaScript Unit Tests] 14 03 2017 12:09:34.235:INFO [karma]: 
Karma v1.4.0 server started at http://0.0.0.0:9876/
[12:09:33][JavaScript Unit Tests] 14 03 2017 12:09:34.236:INFO [launcher]: 
Launching browser Chrome with unlimited concurrency
[12:09:33][JavaScript Unit Tests] 14 03 2017 12:09:34.245:INFO [launcher]: 
Starting browser Chrome
[12:09:36][JavaScript Unit Tests] 14 03 2017 12:09:36.644:INFO [Chrome 
53.0.2785 (Windows 7 0.0.0)]: Connected on socket 5oZt0YpjWdpAFGOgAAAA with 
id 79471936
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.904:WARN 
[web-server]: 404: /datepicker.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.905:WARN 
[web-server]: 404: /questionmarktooltip.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.906:WARN 
[web-server]: 404: /widgetspinner.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.908:WARN 
[web-server]: 404: /filterwidget.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.909:WARN 
[web-server]: 404: /togglebar.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.911:WARN 
[web-server]: 404: /facetpanel.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.914:WARN 
[web-server]: 404: /valuefacet.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.915:WARN 
[web-server]: 404: /integerintervalfacet.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.917:WARN 
[web-server]: 404: /dateintervalfacet.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.924:WARN 
[web-server]: 404: /selectedfilterswidget.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.926:WARN 
[web-server]: 404: /selectedvaluefilteritem.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.930:WARN 
[web-server]: 404: /selecteddateintervalfilteritem.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.932:WARN 
[web-server]: 404: /selectedintegerintervalfilteritem.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.932:WARN 
[web-server]: 404: /piedoughnut.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.933:WARN 
[web-server]: 404: /dashboard.template.html
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.934:WARN 
[web-server]: 404: /actionbar.template.html
[12:09:39][JavaScript Unit Tests] Chrome 53.0.2785 (Windows 7 0.0.0) ERROR
[12:09:39][JavaScript Unit Tests] Uncaught Error: Cannot enable prod mode 
after platform setup.
[12:09:39][JavaScript Unit Tests] at 
D:/a02/temp/buildTmp/karma-typescript-bundle-9320zIFGhBMOkVKV.js:11073
[12:09:39][JavaScript Unit Tests] 14 03 2017 12:09:39.944:WARN 
[web-server]: 404: /filtermanagerwidget.template.html


The strange thing is that this happens on maybe 10% of the builds. Most of 
the time it works. 

Does anyone have a clue why this would happen and why it happens 
sporadically?

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to