『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3546|回复: 3

[求助] qnap安装了homebridge运行报错?

[复制链接]

2

主题

7

帖子

39

积分

新手上路

Rank: 1

积分
39
金钱
32
HASS币
0
发表于 2017-7-9 22:30:32 | 显示全部楼层 |阅读模式
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)



回复

使用道具 举报

26

主题

1210

帖子

5495

积分

元老级技术达人

积分
5495
金钱
4260
HASS币
100
发表于 2017-7-10 16:18:34 | 显示全部楼层
检查下端口是否被占用了 或者执行权限是否正确
回复

使用道具 举报

2

主题

7

帖子

39

积分

新手上路

Rank: 1

积分
39
金钱
32
HASS币
0
 楼主| 发表于 2017-7-12 02:37:50 | 显示全部楼层
谢谢,我再试试
回复

使用道具 举报

0

主题

1

帖子

34

积分

新手上路

Rank: 1

积分
34
金钱
33
HASS币
0
发表于 2018-6-27 23:51:27 | 显示全部楼层
楼主解决了吗  我也遇到了和你一样的问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-6-16 10:48 , Processed in 0.049377 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表