I've seen this in another post, but the resolution must have been provided privately.
I am encountering this issue as well. I've created a very simple static page example, which is attached. In the production pages, the error is hit every time. Although, it does not appear to affect actual functionality, users are complaining that the application has errors.
In this static example, the issue seems to toggle; appearing one refresh cycle, disappearing the next, and re-occuring the next refresh.
What can I do to avoid hitting this?