-
Notifications
You must be signed in to change notification settings - Fork 12.8k
5.1.3 - RangeError: Maximum call stack size exceeded at inferFromTypes - Maybe Fixed with 5.2.0-dev.20230606 #54549
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
Comments
Hi, we are also running into this issue on 5.1.3. Initially thought it was due to the size of our Prisma schema / types. Not sure what I can do to help debug this, but willing to if anyone has ideas. |
We have this issue. too. Like @jpwogaman this is fixed for us by using a higher dev version of typescript:
|
Nobody has a repro? |
Here is another potentially related case: #54618 Update: I can confirm that |
With @janpio we could find that I checked the changes that happened in 5.2 for that daily version I could see that So it seems to me that this would be fixed once #54538 would be backported to 5.1? |
The first PR should be enough to fix the crash. The second is a cleanup and potential perf boost (which we rarely backport). This issue is really just a duplicate of #54348 which will be fixed in the next 5.1 patch (not yet released). |
Because of this issue: microsoft/TypeScript#54549
This issue has been marked as 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Also fixed with |
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
npm install typescript@next //(5.2.0-dev.20230606)
💻 Code
🙁 Actual behavior
🙂 Expected behavior
Build completed with no errors.
The text was updated successfully, but these errors were encountered: