Closed stoffLer closed 8 months ago
-> npm install functions-have-names
closed
@stoffLer I think this issue needs to be re-opened, as manually installing that dependency isn't the answer here. It should be included in the docker image.
@Supereg any way we can get this re-opened?
@jkossis @stoffLer pls re-open against the docker-homebridge repo, and include instructions to recreate the issue.
tks
done
have the same issue running HB on Synology DSM
I'll open the issue in the docker repo
@stoffLer I have tried: npm install functions-have-names That didn't solve my problem, Homebridge status is still not running.
Is there another way I can solve the problem?
@BOB-DK are you executing that within the container, and not the host? It should work as a temporary fix.
npm install functions-have-names
This finally worked for me on a qnap container (docker)
Thank you for the tip
@BOB-DK are you executing that within the container, and not the host? It should work as a temporary fix.
@jkossis I actually don't know. I open Terminal via the Homebridge UI Type the command, npm install functions-have-names
@BOB-DK what's the exact error message hb gives u?
@stoffLer Something looks odd with your docker-homebridge image
In the docker-homebridge image, the homebridge package gets installed into /var/lib/homebridge/node_modules/homebridge
and not /opt/homebridge/lib/node_modules/homebridge
.
@stoffLer
This is from my HB log.
[14/09/2023, 16:35:02] [HB Supervisor] Homebridge Process Ended. Code: 1, Signal: null [14/09/2023, 16:35:07] [HB Supervisor] Restarting Homebridge... [14/09/2023, 16:35:07] [HB Supervisor] Starting Homebridge with extra flags: -I [14/09/2023, 16:35:07] [HB Supervisor] Started Homebridge v1.6.1 with PID: 18597 Error: Cannot find module 'functions-have-names' Require stack:
@BOB-DK You also have something odd going on with your homebridge image, as your log is showing an install location of /usr/local/lib/node_modules/homebridge
instead of the /var/lib/homebridge/node_modules/homebridge
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Analysis
[9/13/2023, 12:50:10 PM] [HB Supervisor] Homebridge Process Ended. Code: 1, Signal: null [9/13/2023, 12:50:15 PM] [HB Supervisor] Restarting Homebridge... [9/13/2023, 12:50:15 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [9/13/2023, 12:50:15 PM] [HB Supervisor] Started Homebridge v1.6.1 with PID: 5839 Error: Cannot find module 'functions-have-names' Require stack:
Expected Behavior
running HB...
Steps To Reproduce
Install Docker Version of HB
Logs
Configuration
Environment
Process Supervisor
hb-service
Additional Context
No response