Gatsby SSR Function crashing out

I also found this thread, where it seemed like a similar problem was solved previously?

@hrishikesh Apologies for CC’ing you directly but wondering if you could help here as you directed the previous User to that supposed fix? Was it ever included in an eventual release?

Only pushing 'cos initial Discovery Phase about the viability of gatsby for our needs seems to have hit a Roadblock once we added it to a preexisting monorepo…