小米网关错误/usr/lib/node_modules/homebridge-mi-aqara/index.js:170
/usr/lib/node_modules/homebridge-mi-aqara/index.js:170
    if(Object.getOwnPropertyNames(hosts).length < Object.getOwnPropertyNames(gateways).length) {
                                                         ^

TypeError: Cannot convert undefined or null to object
    at Function.getOwnPropertyNames (<anonymous>)
    at MiAqaraPlatform.sendWhoisCommand (/usr/lib/node_modules/homebridge-mi-aqara/index.js:170:58)
    at API.<anonymous> (/usr/lib/node_modules/homebridge-mi-aqara/index.js:101:18)
    at emitNone (events.js:106:13)
    at API.emit (events.js:208:7)
    at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:99:13)
    at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:45:10)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)

运行homebridge -D后出现二维码与认证码，直接就出上面的错误退出，是什么情况啊？如果把config.json配置文件删除运行homebridge -D会出现二维码也不会退出。是哪里的问题？
NODEJS V8.12
homebridge-mi-aqarav0.7.2
debian v9
