If you navigate to the frontend folder and run
gatsby clean && gatsby develop
this clears the issue and the site runs correctly.
If you navigate to the frontend folder and run
gatsby clean && gatsby develop
this clears the issue and the site runs correctly.