Just had this error as well and this solution worked for me (didn’t realise looping require() was bad but of course makes sense now that I think about it). There were a couple of other threads with the same error message, but seemingly different root causes (something to do with GUI or factories, for example). Is there a way to make the error message more informative? Or maybe it already is, but I just don’t understand it?