Issue with scripts loading using gatsby

I have built a pretty simple static website and am using the gatsby compile option but on production none of the javascript seems to be running and in the console i get this issue:

Uncaught (in promise) TypeError: can’t access property “staticQueryHashes”, t is undefined

Relevant links:

Hi @imraan_salie, welcome to the forum!

I’m not sure this error is coming from Plasmic, and we can only provide support on Plasmic-owned packages. To get help, could you help pinpoint where you think the problem is in Plasmic packages?

Weird OK, I’m not sure where the issue is if I’m honest because i built the site only using existing components from the Plasmic Studio the only external components is the contact form, but that’s in an iframe and it shouldn’t stop basic stuff like the main menu drop downs not working