-
Notifications
You must be signed in to change notification settings - Fork 27
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: Unable to find entry #21
Comments
I am getting a similar error, but only after upgrading to version 0.2.1 |
in karma-remap-instanbul/index.js:
i think key in |
The problem for me happens in the HTML report. But when I generate the HTML report from the command line with remap-istanbul, there are no errors. It seems that the problem might be with karma-remap-istanbul. |
i try [email protected] and it worked with no errors |
I am thinking that this must be an issue with karma-remap-istanbul. I tried the following configurations:
This works fine.
This works fine.
This has the
This works fine using the JSON from the fail above. I also tried updating istanbul-instrumenter-loader:
This has the As can be seen here, by only changing the karma-remap-istanbul version, the html reporting fails. karma-remap-istanbul 0.1.1 works with new and old versions of istanbul-instrumenter-loader, and karma-remap-istanbul 0.2.1 fails with new and old versions of istanbul-instrumenter-loader. |
It's definitely a problem with this karma plugin. My current workaround is, that I created a gulp task with remap-istanbul and it works normaly. |
I have the same issue . I have a running remap-istanbul setup working I'm trying to use karma-remap-istanbul to reduce boilerplate (calling posttest) but its not running
Is there something more needed in the karma config? Am I missing something?
with posttest call to remap-istanbul was working. But now I get this error
|
I only have this issue with html type report, no problem with 'lcovonly', but the file path in lcov report is not absolute path. |
I only have problems with the HTML report as well. On Wednesday, September 7, 2016, Andyma [email protected] wrote:
|
I am also having same issues with this version of the lib, even downgrading the version doesn't help me I come across issue #2. Any help would be much appreciated. Thanks, +1 for this resolution. |
@sachinofficial Try either running the remap-istanbul command (see my comments above) or executing the remap-istanbul yourself in the karma done callback:
|
remap-istanbul is in 0.6.5-pre now: https://github.com/SitePen/remap-istanbul/blob/master/package.json |
Hi, Please merge and release, we are looking forward to use karma-remap-istanbul in our project. Thanks |
Me too i have this kind of problem with webpack2/typescrit and inline source maps.. please update the remap-istanbul dependecy. I just create a simple patch to fix this but i need to be merged or i don't have coverage report in bamboo plan. |
@gcirone Maybe you should do a pull request instead of making a patch? |
I've just cut a 0.2.2 release which has this fix: #27 which should solve this issue - please can people try and let me know if it solves the problem? |
The different between my code and your repo is the source map generation. I use |
The inline source map webpack option doesnt work with typescript, as it only looks at .js files, using the source map plugin with the file extension set is the current only way around this AFAICT. I've also used this with the awesome typescript loader and it should just work as a drop in replacement. The other trick to making this work is using this loader |
In fact i use Thanks @mattlewis92 for your help :) |
Okay, so with gulp and inline sourcemaps it works now. Thx. |
@DaSchTour that's great to hear! 😃 |
I added configuration like described here, and after running i get the following error.
[Error: Unable to find entry for [dev/app/content-types.ts]]
When executing remap-istanbul through gulp everything works fine.
I tested the following setups, with the same result:
and simply
The text was updated successfully, but these errors were encountered: