OpenHAB-HomeKit-Bridge
OpenHAB-HomeKit-Bridge copied to clipboard
Can't start.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'start',
1 verbose cli '--',
1 verbose cli '--server',
1 verbose cli '127.0.0.1:8080',
1 verbose cli '--sitemap',
1 verbose cli 'homekit',
1 verbose cli '--pincode',
1 verbose cli '13572460' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: node index.js "--server" "127.0.0.1:8080" "--sitemap" "homekit" "--pincode" "13572460"
9 verbose stack Exit status 1
9 verbose stack at EventEmitter.node index.js "--server" "127.0.0.1:8080" "--sitemap" "homekit" "--pincode" "13572460"
17 error Exit status 1
18 error Failed at the [email protected] start script 'node index.js "--server" "127.0.0.1:8080" "--sitemap" "homekit" "--pincode" "13572460"'.
18 error This is most likely a problem with the openHAB-HomeKit-Bridge package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error node index.js "--server" "127.0.0.1:8080" "--sitemap" "homekit" "--pincode" "13572460"
18 error You can get their info via:
18 error npm owner ls openHAB-HomeKit-Bridge
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
Did you ever figure this issue out? Running into the same exact problem.
And if you try node index.js "--server" "127.0.0.1:8080" "--sitemap" "homekit" "--pincode" "13572460"
directly? What do you see?
I'm getting the following error: pi@raspberrypi:/usr/share/openhab/extra/homekit/lib $ node index.js "--server" "127.0.0.1:8080" "--sitemap" "homekit" "--pincode" "13572460" /usr/share/openhab/extra/homekit/lib/index.js:2 import { startOpenHABBridge } from './openHABBridge.js'; ^^^^^^
SyntaxError: Unexpected reserved word at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:414:25) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:467:10) at startup (node.js:136:18) at node.js:963:3
I'm getting the same issue. Any fix?
Has anyone found a fix to this issue? Seems to persist in the latest code base.