-
Notifications
You must be signed in to change notification settings - Fork 10
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
Suggestion: add plugin before other plugins #6
Comments
I've merged your PR #5 , so, the readme now reflects it. Thank you and sorry for being so late. |
I believe this is not fixed, and instead has created another error. I don't have more than these 2 plugins, so I can speak to their order relative to others... but I have found that having 29 12 2016 04:13:15.760:ERROR [preprocessor.rollup]:
Failed to process /Users/jlmakes/development/project/test/utils/generic.spec.js
Unexpected token (12:3441) in /Users/jlmakes/development/project/src/utils/generic.js The error reported by @jellymann appears to be an issue with Istanbul's poor handling of source maps (perhaps in conjunction with babel); see the discussion here: karma-runner/karma-coverage#157 And in the Istanbul repo: There's even a fork with an alleged fix: |
I've come across errors resembling the following:
I have found that placing the istanbul plugin before the other plugins fixes the issue.
Causes Error:
Fixes Error:
@artberri Perhaps, if you think this is a good idea, the README ought to updated to reflect this?
The text was updated successfully, but these errors were encountered: