-
Notifications
You must be signed in to change notification settings - Fork 785
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
[1.1.0-alpha.1] Cannot read property 'text' of undefined in HTML report #660
Comments
That message usually means that the source text for a file does not match what was instrumented. Is there a way you can provide a basic failing case in a gist or something? |
Well, I found the mistake. It is a problem with babel not generating sourcemaps when not told via command (.babelrc doesn't work in this case). |
have the same issue +1 |
@MatthiasF999 How did you solve? |
You need to remove
from the .babelrc file. |
I have the same issue and don't have |
In my case this problem was casused by running istanbul after browserify-ngannotate in browserify transforms. |
I created a patch for this issue: istanbuljs-archived-repos/istanbul-reports#10 |
For those working with webpack, you can find this useful: webpack-contrib/istanbul-instrumenter-loader#32 Basically work with older version of |
I ran into this problem in my Webpack setup. Making |
Trace
relevant package.json
I can only test this with istanbul@next, since the stable version delivers an empty coverage report.
The text was updated successfully, but these errors were encountered: