TypeScript: Maximum call stack size exceeded

Using 2.4.0-dev.20170607 The project is big and it will take time to find out what exactly caused this problem. Perhaps this will be enough to understand the issue.

test\node_modules\typescript\lib\typescript.js:69700
                throw e;
                ^

RangeError: Maximum call stack size exceeded
    at mapper (test\node_modules\typescript\lib\typescript.js:33886:35)
    at mapper (test\node_modules\typescript\lib\typescript.js:33886:64)
    at instantiateTypeNoAlias (test\node_modules\typescript\lib\typescript.js:34104:24)
    at instantiateType (test\node_modules\typescript\lib\typescript.js:34098:24)
    at mapper (test\node_modules\typescript\lib\typescript.js:33886:48)
    at mapper (test\node_modules\typescript\lib\typescript.js:33886:64)
    at instantiateTypeNoAlias (test\node_modules\typescript\lib\typescript.js:34104:24)
    at instantiateType (test\node_modules\typescript\lib\typescript.js:34098:24)
    at mapper (test\node_modules\typescript\lib\typescript.js:33886:48)
    at mapper (test\node_modules\typescript\lib\typescript.js:33886:64)
    at instantiateTypeNoAlias (test\node_modules\typescript\lib\typescript.js:34104:24)
    at instantiateType (test\node_modules\typescript\lib\typescript.js:34098:24)
    at mapper (test\node_modules\typescript\lib\typescript.js:33886:48)
    at mapper (test\node_modules\typescript\lib\typescript.js:33886:64)
    at instantiateTypeNoAlias (test\node_modules\typescript\lib\typescript.js:34104:24)
    at instantiateType (test\node_modules\typescript\lib\typescript.js:34098:24)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

@mhegazy Sure, next week I have time to find out the piece of code which makes the problem. @egandro Actually Node 7. Still waiting for libraries to be compatible with Node 8 and for Node 8 to revert breaking changes 😃.