You are probably hit with this issue:
https://github.com/vercel/next.js/issues/79313
There seems to be some workarounds to try here:
https://claude.ai/share/8d09e55a-0cc0-4ef6-9e83-1553ccad383e