Hey Simone,

Thanks a lot for the kind words. In the OSS version there are some conditionals present in the gatsny-node and gatsby-ssr that protect against such scenarios.

I think this problem has been mentioned before and there have been suggestions on other comments on how to fix it.

Nevertheless, if neither the comments nor the repo seem to help your issue, I’m willing to take a quick look if you can create a reproduction for me :)

Front-end ReactJS Developer — https://aggelos.dev