I keep getting this error when I run my code locally, though it is not consistently showing every time. If I navigate off a page, it may show, but not each time. After several refreshes it seems to go away.
This is the way it has always been set up - why is this causing so many errors for me now, and how do I fix it?
I'd recommend updating all your packages to the latest versions: Slice Machine, @prismicio/next, @prismicio/react, and @prismicio/client.