node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */)

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: 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(). The promise rejected with the reason "#<Response>".] {
  code: 'ERR_UNHANDLED_REJECTION'


It ran well and then restarted Ubuntu, which caused the problem.
Was this page helpful?