try investigating your nodejs version. switching from v18 to v20.18 just fixed the same ‘hanging forever’ issue for me. see here: https://github.com/vercel/next.js/issues/52616#issuecomment-1749824093