Git Product home page Git Product logo

Comments (17)

stoffLer avatar stoffLer commented on May 27, 2024

-> npm install functions-have-names

from docker-homebridge.

stoffLer avatar stoffLer commented on May 27, 2024

closed

from docker-homebridge.

jkossis avatar jkossis commented on May 27, 2024

@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.

jkossis avatar jkossis commented on May 27, 2024

@Supereg any way we can get this re-opened?

from docker-homebridge.

NorthernMan54 avatar NorthernMan54 commented on May 27, 2024

@jkossis @stoffLer pls re-open against the docker-homebridge repo, and include instructions to recreate the issue.

tks

from docker-homebridge.

stoffLer avatar stoffLer commented on May 27, 2024

done

from docker-homebridge.

jarekpelczynski avatar jarekpelczynski commented on May 27, 2024

have the same issue running HB on Synology DSM

from docker-homebridge.

jkossis avatar jkossis commented on May 27, 2024

I'll open the issue in the docker repo

from docker-homebridge.

BOB-DK avatar BOB-DK commented on May 27, 2024

@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.

jkossis avatar jkossis commented on May 27, 2024

@BOB-DK are you executing that within the container, and not the host? It should work as a temporary fix.

from docker-homebridge.

zanedasavage avatar zanedasavage commented on May 27, 2024

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 avatar BOB-DK commented on May 27, 2024

@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

2023-09-13 kl  16 19 23

from docker-homebridge.

stoffLer avatar stoffLer commented on May 27, 2024

@BOB-DK what's the exact error message hb gives u?

from docker-homebridge.

NorthernMan54 avatar NorthernMan54 commented on May 27, 2024

@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.

BOB-DK avatar BOB-DK commented on May 27, 2024

@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:

  • /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.

NorthernMan54 avatar NorthernMan54 commented on May 27, 2024

@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.

github-actions avatar github-actions commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.