question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: I can't run de coverage

See original GitHub issue

Describe the bug When I run the command I get the following error:

TypeError: typescript_1.default.isNamedTupleMember is not a function
    at checkNode (/Users/lflimeira/Projects/z1/api/node_modules/typescript-coverage-report/node_modules/type-coverage-core/dist/checker.js:598:30)
    at Object.checkNode (/Users/lflimeira/Projects/z1/api/node_modules/typescript-coverage-report/node_modules/type-coverage-core/dist/checker.js:521:9)
    at /Users/lflimeira/Projects/z1/api/node_modules/typescript-coverage-report/node_modules/type-coverage-core/dist/core.js:96:23
    at visitNodes (/Users/lflimeira/Projects/z1/api/node_modules/typescript-coverage-report/node_modules/typescript/lib/typescript.js:18956:30)
    at Object.forEachChild (/Users/lflimeira/Projects/z1/api/node_modules/typescript-coverage-report/node_modules/typescript/lib/typescript.js:19189:24)
    at SourceFileObject.NodeObject.forEachChild (/Users/lflimeira/Projects/z1/api/node_modules/typescript-coverage-report/node_modules/typescript/lib/typescript.js:138333:23)
    at Object.lint (/Users/lflimeira/Projects/z1/api/node_modules/typescript-coverage-report/node_modules/type-coverage-core/dist/core.js:95:20)

To Reproduce I just followed the typescript-coverage-report documentation about how to install and run de coverage.

Expected behavior to run the typescript-coverage-report properly.

Environment

  • Tool version: 0.4.0
  • OS: MacOS Catalina
  • Node version: v14.6.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
alexcanessacommented, Feb 17, 2021

@lflimeira 0.5.0 is now out. Check again and let me know.

1reaction
alexcanessacommented, Feb 17, 2021

@lflimeira we’re going to support 4 very soon. I’ll keep you posted here and you can try again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Coverage: Find unused JavaScript and CSS
This guide doesn't cover how to refactor a codebase to avoid unused ... the Show Coverage command, and then press Enter to run...
Read more >
Page Indexing report - Search Console Help - Google Support
See which pages Google can find and index on your site, and learn about any indexing problems encountered. Open Page Indexing report.
Read more >
Remove specific prevalent malware with Windows Malicious ...
The Windows Malicious Software Removal Tool (MSRT) helps remove malicious software from computers that are running any of the following operating systems:.
Read more >
Code Coverage does not include code from local library ...
#3 It means that the library code is not instrumented, which means that you won't get code coverage for tests using the library...
Read more >
maven - Getting "Skipping JaCoCo execution due to missing ...
3.201306030806, and I am trying to create test coverage reports. I have a project with unit tests only, but I can't get reports...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found