The Strapi Starter Gatsby Blog v2

If you navigate to the frontend folder and run

gatsby clean && gatsby develop

this clears the issue and the site runs correctly.