grzegorz914 / homebridge-melcloud-control

Homebridge plugin for Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation, publish as dynamic external platform accessory.
MIT License
55 stars 2 forks source link

UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block #39

Closed Reliktdragons closed 1 year ago

Reliktdragons commented 1 year ago

I always get this message:

03/04/2023, 12:01:08] [Homebridge UI] Running Command: npm install --save homebridge-melcloud-control@0.11.8 [03/04/2023, 12:02:48] 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 "#". [03/04/2023, 12:03:54] Got SIGTERM, shutting down Homebridge...

Almost always when I want to update the MELCloud plugin. Other plugins can be updated without problems. Sometimes even without an update.

grzegorz914 commented 1 year ago

This error have nothing to do with plugin, try completely remove and install from scratch.

I doesn't have this error during install/update.

Reliktdragons commented 1 year ago

Error still comes. Even after reinstalling Homebridge. I will try it soon on a second raspberry pi

grzegorz914 commented 1 year ago

I need full debug log, this info is not from plugin itself. How do you install it, use Config UI X or Comand line?

grzegorz914 commented 1 year ago

Please provide full info, Homebridge version, Node version, config.json, registered device types on MELCloud.

Reliktdragons commented 1 year ago

I have completely reinstalled everything and updated everything to the latest status.

now it works.

grzegorz914 commented 1 year ago

Nice.