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

标题: 今早homebridge重启失败,出现以下错误,恳请大神指点,谢... [打印本页]

作者: ptlzx    时间: 2018-5-5 07:04
标题: 今早homebridge重启失败,出现以下错误,恳请大神指点,谢...
本帖最后由 ptlzx 于 2018-5-5 07:06 编辑

群晖docker环境安装homebridge,启动后出现如下错误

gyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! System Linux 3.10.102
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge/node_modules/mdns
gyp ERR! node -v v9.8.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
[            ......] / install: info lifecycle [email protected]~install: Failed to ex
[            ......] / install: info lifecycle [email protected]~install: Failed to ex
[            ......] / install: info lifecycle [email protected]~install: Failed to ex

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-05-04T23_02_56_774Z-debug.log
/root/run.sh: line 99: homebridge: command not found



作者: liuyr    时间: 2018-5-5 10:29
强烈建议用home assistant自带的homekit
作者: ptlzx    时间: 2018-5-5 17:16
liuyr 发表于 2018-5-5 10:29
强烈建议用home assistant自带的homekit

感觉也不靠谱,等下长按无线开关显示的是动作感应器,有些东西识别错位。而且HA里的yeelight不能通过自带的homekit添加到家庭app。HA自带的homekit很不完善觉得。
作者: liuyr    时间: 2018-5-5 19:25
0.68版本的homekit在功能上基本完美了。




欢迎光临 『瀚思彼岸』» 智能家居技术论坛 (https://bbs.hassbian.com/) Powered by Discuz! X3.5