Skip to content

Unhandled Rejection TypeError: Serialport .list no longer takes a callback and only returns a promise #59

@halilaykent

Description

@halilaykent

[2/6/2020, 21:23:56] Homebridge is running
g on port 51826.
Unhandled Rejection TypeError: Serialport
.list no longer takes a callback and only
returns a promise
at Function.SerialPort.list (/usr/loc
al/lib/node modules/homebridge-zigbee-v2/
node modules/@serialport/stream/lib/index
•js:651:11)
at /usr/local/lib/node_modules/homebrew
idge-zigbee-v2/lib/utils/findSerialPort.j

s:5:16

at new Promise ()
at find Serial Port (/usr/local/lib/node
e modules/homebridge-zigbee-v2/lib/utils/
findSerialPort.js:4:10),
at ZigBee Platform.start ZigBee (/usr/l
ocal/lib/node_modules/homebridge-zigbee-v
2/index.js:69:39)
at ZigBee Platform.handle Initialization
n (/usr/local/lib/node_modules/homebridge
-zigbee-v2/index.js:64:10)
at API.emit (events.js:223:5),
at Server.run(/usr/local/lib/node_mo
dules/homebridge/lib/server.js:103:13)
at module.exports (/usr/local/lib/node
node_modules/homebridge/lib/cli.js:59:10),
at Object. (/usr/local/lib
/node_modules/homebridge/bin/homebridge:1
7:22)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions