typescript-coverage-report: Bug: Maximum call stack size exceeded

Describe the bug I’m getting this stack-trace when running the tool in my project

> typescript-coverage-report

RangeError: Maximum call stack size exceeded
    at getRootNames (/home/luislhl/Workspace/pareto/quantic-spa/node_modules/type-coverage-core/dist/tsconfig.js:148:15)
    at async Object.getProjectRootNamesAndCompilerOptions (/home/luislhl/Workspace/pareto/quantic-spa/node_modules/type-coverage-core/dist/tsconfig.js:18:23)
    at async Object.lint (/home/luislhl/Workspace/pareto/quantic-spa/node_modules/type-coverage-core/dist/core.js:17:44)

To Reproduce Just running typescript-coverage-report without any extra options.

Expected behaviour I expected the report to be generated


  • Tool version: 0.5.0
  • OS: Fedora Linux
  • Node version: v12.18.3
  • Npm version: 6.14.6

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 23 (12 by maintainers)

Most upvoted comments

@sanjaypojo I’ve created an issue in that repo. I’ll have a look myself too. Thanks for raising this.