Ran into this one today as well. Don’t fully understand the issue but try upgrading your next version https://github.com/vercel/next.js/issues/49169#issuecomment-1688617704
this fixed it! thank you sir