odziem / nasa-project

Node.js NASA Mission Control Final Project
178 stars 360 forks source link

I get the following error whenever I run the application. Please help #2

Closed jarviss12 closed 2 years ago

jarviss12 commented 2 years ago
node:internal/process/promises:265
            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 "undefined".] {
  code: 'ERR_UNHANDLED_REJECTION'
}
odziem commented 2 years ago

There's not enough information here to narrow down what might be causing your issue. This could be caused by an error being thrown in any Promise or async function. Have you been following along with the course?