-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR [coverage]: [TypeError: Cannot call method 'split' of undefined] #123
Comments
I'm getting the same error - it's broken starting 0.2.7. |
Same error. |
I also meet the same error |
The problem is that browserify transform Istanbul takes care the coverage report... |
Seems problem in this commit. |
So locking the dependency for |
Same here. Thanks @jsdevel !!! I just want to mention that I'm running karma on Linux (Ubuntu 14.04). |
+1 to this issue. @jsdevel 's solution worked for me. |
+1 downgrading to 0.2.6 worked like @jsdevel described |
+1 for this issue @jsdevel downgrade fix worked for me as well |
Notes: - browserify-istanbul is used instead of a karma-coverage preprocessor because of this bug: karma-runner/karma-coverage#16 (comment) - karma-coverage version pinned to 0.2.6 to workaround this bug: karma-runner/karma-coverage#123 (comment)
Notes: - browserify-istanbul is used instead of a karma-coverage preprocessor because of this bug: karma-runner/karma-coverage#16 (comment) - karma-coverage version pinned to 0.2.6 to workaround this bug: karma-runner/karma-coverage#123 (comment)
+1 downgrading to 0.2.6 also worked here |
+1 downgrading |
Also ran into this issue. Downgrading worked. |
For me the same, downgrading to 0.2.6 worked |
+1 downgrading to 0.2.6, but any idea of when we will be able to upgrade and still have working coverage with browserify? |
+1, downgrading worked. |
+1 here, downgraded to 0.2.6. Please investigate! |
+1 |
1 similar comment
+1 |
after suggested fix (#124): ERROR [coverage]: [TypeError: Cannot set property 'covered' of undefined] |
@akoval See my issue: #122 (comment) |
Should be fixed in |
Hi @dignifiedquire , After upgraded the component to Tried with I just got the issue when using the transform Is there anyone has resolved the issue yet? :(( |
I've just checked and realized that the component still be I have also checked the release of the component and cannot find out the version |
Are you sure you are running against the official npm registry, I get this: ❯ npm view karma-coverage@latest version
0.4.2 as well as https://www.npmjs.com/package/karma-coverage which shows the latest version being |
Yes, sorry for my mistake. I did it. However, the issue still be there. I tried to do with |
Could you file a new issue please, and post the full log with |
Chrome 43.0.2357 (Mac OS X 10.10.2): Executed 313 of 324 (skipped 11) SUCCESS (0.465 secs / 0.303 secs) ERROR [coverage]: [TypeError: Cannot read property 'text' of undefined] |
hey @Tin-Nguyen this really does sounds like a new issue. Could you raise a separate issue which will also mean everyone on this list wont get emailed? |
OK @peter-mouland , I have posted 1 new issue at #167 |
Hi, I can see this has been closed as fixed but the issue still seems to exist.
These are my devDependencies:
And this is my config:
I'm on Windows in case that's relevant... Locking the dependency for karma-coverage to 0.2.6 did not work for me unfortunately. |
I found this issue: Pinning to "instanbul-instrumenter-loader" : "0.2.0" fixed the issue for me. |
- As the code need to be applied _inside_ the webpack, the relevant loader must be used. - Using a fork of the loader because it can generate html reports without dying in a fire like the official one. - karma-runner/karma-coverage#123 - karma-runner/karma-coverage#278
- As the code need to be applied _inside_ the webpack, the relevant loader must be used. - Using a fork of the loader because it can generate html reports without dying in a fire like the official one. - karma-runner/karma-coverage#123 - karma-runner/karma-coverage#278
I'm getting this error lately. Here is the full stack trace:
Here are my dependencies:
I've tried using the latest version of istanbul but that doesn't help any. Is there any more info I can provode to help troubleshoot this?
Here's my
karma.conf.js
file:The text was updated successfully, but these errors were encountered: