Comments (17)
-> npm install functions-have-names
from docker-homebridge.
closed
from docker-homebridge.
@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.
from docker-homebridge.
@Supereg any way we can get this re-opened?
from docker-homebridge.
@jkossis @stoffLer pls re-open against the docker-homebridge repo, and include instructions to recreate the issue.
tks
from docker-homebridge.
done
from docker-homebridge.
have the same issue running HB on Synology DSM
from docker-homebridge.
I'll open the issue in the docker repo
from docker-homebridge.
@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?
from docker-homebridge.
@BOB-DK are you executing that within the container, and not the host? It should work as a temporary fix.
from docker-homebridge.
npm install functions-have-names
This finally worked for me on a qnap container (docker)
Thank you for the tip
from docker-homebridge.
@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
from docker-homebridge.
@BOB-DK what's the exact error message hb gives u?
from docker-homebridge.
@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
.
from docker-homebridge.
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:
- /usr/local/lib/node_modules/homebridge/node_modules/set-function-name/index.js
- /usr/local/lib/node_modules/homebridge/node_modules/regexp.prototype.flags/implementation.js
- /usr/local/lib/node_modules/homebridge/node_modules/regexp.prototype.flags/index.js
- /usr/local/lib/node_modules/homebridge/node_modules/deep-equal/index.js
- /usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/lib/helpers.js
- /usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/lib/Server.js
- /usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/index.js
- /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Advertiser.js
- /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js
- /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/AccessoryLoader.js
- /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/index.js
- /usr/local/lib/node_modules/homebridge/lib/cli.js
- /usr/local/lib/node_modules/homebridge/bin/homebridge
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Function.Module._load (node:internal/modules/cjs/loader:920:27)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/usr/local/lib/node_modules/homebridge/node_modules/set-function-name/index.js:5:38)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
from docker-homebridge.
@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
from docker-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.
from docker-homebridge.
Related Issues (20)
- Homebridge failed to install using the Homebridge on Portainer guide HOT 7
- Exposing port 8000 HOT 3
- docker publish should has a version tag not just ubuntu HOT 7
- QNAP Installation with Container Station 3 - Wiki Updates HOT 6
- Homebridge keep restarting after update HOT 3
- IPv6 issue on first run. Need to disable IPv6 in container HOT 3
- Step by Step process to upgrade Node.js and Homebridge HOT 4
- Node errors in logs when starting container with Portainer HOT 2
- Lost configuration after container restart / host reboot HOT 2
- mDNS in a Docker container HOT 4
- `UIX_CUSTOM_PLUGIN_PATH` env var has no effect HOT 3
- Command exexcute .sh file HOT 1
- Cannot connect to ui HOT 4
- Is Docker-Hombridge a limited version of Homebridge, with which you cannot control a second Raspberry with a .sh command? HOT 4
- dbus and other pids are deleted off the host HOT 2
- HB based Docker container doesn't appear to be correctly interfacing with system AVHI-daemon per documentation HOT 6
- How to install latest android-tools/adb inside Homebridge Docker container? HOT 5
- .
- Mounting `/var/run/dbus` for Avahi mDNS causes dbus issues when running in Docker HOT 2
- Installation on LibreELEC (aarch64) fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-homebridge.