Page Crash with Runtime.UnhandledPromiseRejection

Website - https://bespoke-monstera-c2f9f3.netlify.app/

The web app works in my local when I try to run it on prod by doing npm run build, but even though the build command is same in the settings and the publish directory as .next, but the issues are there here.

When I click on any of the links, here’s the error:

This function has crashed
An unhandled error in the function code triggered the following message:

Runtime.UnhandledPromiseRejection - Error: Error handling request. See function logs for details.

Stack trace
Runtime.UnhandledPromiseRejection: Error: Error handling request. See function logs for details.
    at process.<anonymous> (file:///var/runtime/index.mjs:1189:17)
    at process.emit (node:events:525:35)
    at emit (node:internal/process/promises:149:20)
    at processPromiseRejections (node:internal/process/promises:283:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
Connection details
Netlify internal ID: 01H3FZ2GRVSNFM22A2YHE12B61

Experiencing the same issue on our site.

Experiencing the same issue on our site. See Sudden UnhandledPromiseRejection in Netlify Function - #2 by bharath

hi folks!

We released an update to our runtime (v.4.38.1) which should mitigate this. Can you please try to run the builds again (if the plugin auto-installs) or force that particular version?

thanks!

2 Likes

Hey @gualter, working fine now. Thank you!

gald to hear! thanks for confirming!