hirakujira / homebridge-ambiclimate-platform

Apache License 2.0
5 stars 2 forks source link

UnhandledPromiseRejectionWarning: Unhandled promise rejection. #7

Closed keiranlovett closed 2 years ago

keiranlovett commented 3 years ago

Describe The Bug:

Seems to be a repeat of #5, I am not sure if this is a user configuration error or a bug. I have created and supplied the authorization details as instructed.

 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1289)
(node:1637) UnhandledPromiseRejectionWarning: ReferenceError: nil is not defined
    at /homebridge/node_modules/homebridge-ambiclimate-platform/node_modules/node-ambiclimate/ambi-auth.js:135:9

To Reproduce:

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

rn1604 commented 3 years ago

Same here:

(node:677) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 145)

hirakujira commented 3 years ago

Cloud you try latest version and check whether it's fixed?

keiranlovett commented 3 years ago

No change....