This is different to other questions regarding an error message in Node that reads RangeError: Maximum call stack size exceeded in that I know exactly why I’m getting this error message. It’s happening because I’m recursing, recursing quite a lot in fact.
Thanks.
From
node --help:Update: as the comments indicate, even though the help text still lists the
--max-stack-sizeoption, in node v0.10.x you need to use--stack-sizeinstead.