Log failure when used with Karma
See original GitHub issueERROR [karma]: TypeError: this.__write is not a function
at WriteStream.write (node_modules/webpackbar/dist/utils/log-update.js:89:16)
at adapters.forEach (node_modules/karma/lib/reporters/base.js:73:16)
at Array.forEach (<anonymous>)
at MochaReporter.BaseReporter.write (node_modules/karma/lib/reporters/base.js:68:19)
at MochaReporter.BaseReporter.writeCommonMsg (node_modules/karma/lib/reporters/base.js:79:16)
at MochaReporter.BaseReporter.onBrowserLog (node_modules/karma/lib/reporters/base.js:100:12)
at Server.<anonymous> (node_modules/karma/lib/events.js:40:26)
at Server.emit (events.js:187:15)
at Browser.onInfo (node_modules/karma/lib/browser.js:100:20)
at Socket.socket.on (node_modules/karma/lib/browser.js:272:38)
It seems that your reporter is clashing with Karma’s reporter when overriding process.stdout.write
. Am I doing something wrong or is this a known issue?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Troubleshooting - Karma test runner
The log includes both core karma lines and lines from plugins: use the logging prefix to determine if your issue may need to...
Read more >Log failure when used with Karma · Issue #38 · unjs/webpackbar
It seems that your reporter is clashing with Karma's reporter when overriding process.stdout.write . Am I doing something wrong or is this a ......
Read more >Karma Log Level Values - unit testing - Stack Overflow
Currently, our code base uses: logLevel: config.LOG_INFO,. Is there a reason to use this one instead of the others? Possible values: config.
Read more >Karma's Progress Reporter Makes Failing Tests Unclear - GitLab
Karma's Progress Reporter Makes Failing Tests Unclear. The default reporter for karma, progress , shows one line of output for each test.
Read more >I'm having trouble logging into Credit Karma
If you're having trouble logging into Credit Karma and you know you're using the correct email address and password, here are some ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@pi0 : A college of mine also identified a possible patch to fix the problem. See https://github.com/nuxt/webpackbar/commit/d51c508ba5a268bd65561076ade9da4ad16b122f#r31895162 for more details.
A college of mine identified this: https://github.com/nuxt/webpackbar/commit/d51c508ba5a268bd65561076ade9da4ad16b122f#r31893923