Skip to content
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

Code Coverage Report issue #16633

Closed
Jamee77 opened this issue Jan 10, 2020 · 4 comments
Closed

Code Coverage Report issue #16633

Jamee77 opened this issue Jan 10, 2020 · 4 comments

Comments

@Jamee77
Copy link

@Jamee77 Jamee77 commented Jan 10, 2020

I get the below issue while trying to run the command
ng test (applicaitonname) --watch=false --code-coverage

Issue:
See http://localhost/api-reference/runtime-options.html#options-to-control-prototype-access for details
Handlebars: Access has been denied to resolve the property "functions" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:

Please suggest what to do.

@ewolfe

This comment has been minimized.

Copy link

@ewolfe ewolfe commented Jan 10, 2020

I just got the same error after updating a handful of dependencies (istanbul, istanbul-instrumenter-loader, and karma-coverage)

@Jamee77

This comment has been minimized.

Copy link
Author

@Jamee77 Jamee77 commented Jan 13, 2020

I just got the same error after updating a handful of dependencies (istanbul, istanbul-instrumenter-loader, and karma-coverage)

Were you able to fix it?

@ewolfe

This comment has been minimized.

Copy link

@ewolfe ewolfe commented Jan 13, 2020

Well... kind of? I'm going down a rabbit hole of updating all my dependencies:

image

I think one of my initial root causes was a mismatch of dependencies. But I couldn't tell you exactly what the culprit was. So I just started slowly hacking away it in as small as chunks as I could do.

(PS, don't read too much into the failed builds in my screenshot. It's unrelated to the code coverage report issue).

@alan-agius4

This comment has been minimized.

Copy link
Collaborator

@alan-agius4 alan-agius4 commented Jan 13, 2020

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.

If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.