There are 2 errors in local build. In production they cause some pages to crash, such as /api.  Investigate and resolve. If needed, upgrade Next.js to LTS version.