After cloning the layer5 website repository on my local machine,
I did make setup and make site but getting the following error:
Note: I am using WSL and Gatsby CLI version: 5.12.1 & Gatsby version: 4.25.7 along with latest node 18 version
Tried the solution mentioned here but not working:
warn The path "/" errored during SSR.
Edit its component node_modules/@gatsbyjs/reach-router/es/lib/utils.js:249:1 to resolve the error.
There was an error while trying to create the client-only shell for displaying SSR errors:
React.Children.only expected to receive a single React element child.
Thank you @Vaibhav.Maurya for the response. I have tried using the bash terminal in the VsCode itself. It solves the problem of ‘/’ route but for ‘/blog’ route it is giving the same issue (screenshot below).