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

Typescript tsc outputs RangeError: Maximum call stack size exceeded #8749

Open
dcousens opened this issue Aug 9, 2023 · 0 comments
Open
Assignees
Labels
🐛 bug Unresolved bug

Comments

@dcousens
Copy link
Member

dcousens commented Aug 9, 2023

As reported by @mmachatschek in #8743 (comment)
Workaround could be to try node --stack-size=4000 ./node_modules/typescript/lib/tsc.js.

It is suspected that a high number of lists and with a high number of relationships may result in an exponential stack blowout when type checking. The addition of the Session type parameter has introduced this regression for some users.

I will attempt to reproduce this problem when I can, but I have made this ticket to track the problem instead of relying on #8743.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Unresolved bug
Projects
None yet
Development

No branches or pull requests

1 participant