-
Notifications
You must be signed in to change notification settings - Fork 47
TypeError: Cannot read property 'log' of undefined #86
Comments
+1 Also experiencing this. Although it seems flaky. In my case I am not using phantomjs at all but rather browserstack. |
+1, this is an issue for me. |
Setting logLevel DEBUG http://karma-runner.github.io/3.0/config/configuration-file.html might help you debug this (I don't use this plugin). |
Still facing it with karma-parallel. |
Got the same issue with ChromeHeadless,
|
I'm experiencing the same issue when running Karma with karma-teamcity-reporter (see the error below). This is randomly crashing and only on TeamCity agents. I enabled DEBUG mode and the only thing that I can see is that the socket disconnects. I tried to dig in the report and could observe that when it crashes, the function The question is what could be the reason why Karma doesn't report the browser informations at startup and always call
|
To conclude: |
I made a workaround by creating a patcher like this in
Then in karma.config.js, use it like this:
|
@dignifiedquire Is this repo still supported? E.g. this issue here is open for 2 and a half years now... |
thanks @andy-maca! our first run with this patch was green - hopefully things stay green! |
I got this issue. Then run the build again and it was gone. Hope this helps someone. |
karma-teamcity-reporter: 1.1.0
karma: 3.1.1
Angular: 7
karma-phantomjs-launcher: 1.0.4
I'm getting this error pretty consistently when running angular tests in parallel off phantomjs. Is this an issue? Any possible fixes / workaround?
The text was updated successfully, but these errors were encountered: