Is there actually any way for me to debug this, tools failing without any way to fix it are the worst
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Do you have this effect on all tools or just
-
It's a curse
End of conversation
New conversation -
-
-
While not actually a solution to whatever is causing typescript to run out of memory, running this with an env var: NODE_OPTIONS=“—max-old-space-size=8000” might get it to finish
-
Oh yeah. That would at least eliminate if it was something recursive consuming memory rather than complexity. Thanks for the tip!
End of conversation
New conversation -
-
-
This consistently occurs in the getIntersectionType method. Removing some of the items in the union also makes this error go away. The only thing these items seem to have in common is a common property with different types.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
How big is this union? Is it a tagged union? Are you on the latest TS version?
-
150 elements. Yep. Yep.
- 1 more reply
New conversation -
-
-
Isn't that just an out of memory error?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 