|
qnap安装了homebridge,config中只配置了一个小米网关信息,运行应用就报下面的错,请大侠们帮忙指点是什么原因?
/root/.homebridge/.env not found.
Default env variables will be used.
/root/.homebridge/package.json not found.
/root/.homebridge/install.sh not found.
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat? ... ServiceRegister>
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info ok
[7/9/2017, 2:20:44 PM] Loaded plugin: homebridge-qara
[7/9/2017, 2:20:44 PM] Registering platform 'homebridge-aqara.AqaraPlatform'
[7/9/2017, 2:20:44 PM] ---
[7/9/2017, 2:20:44 PM] Loaded config.json with 0 accessories and 1 platforms.
[7/9/2017, 2:20:44 PM] ---
[7/9/2017, 2:20:44 PM] Loading 1 platforms...
[7/9/2017, 2:20:44 PM] Initializing AqaraPlatform platform...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
events.js:163
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE 0.0.0.0:51826
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at Server.setupListenHandle [as _listen2] (net.js:1259:14)
at listenInCluster (net.js:1307:12)
at Server.listen (net.js:1406:7)
at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)
at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)
at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:509:16)
at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:114:16)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:91:10)
|
|