UnhandledPromiseRejectionWarning: Unhandled promise rejection. Please help this non technical background person

47 views Asked by At

I have node and npm, and I don't have an idea of how to fix this problem.

UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().

can someone please explain to me what it means by 'throwing inside of a async function without a catch block' means?

along with a specific details on how to resolve the error?

Thank you so much!

0

There are 0 answers