Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ip" module needed for node-red-contrib-homekit-bridged" palette where to install? #3

Open
shanse01 opened this issue Feb 19, 2024 · 1 comment
Labels
question Further information is requested

Comments

@shanse01
Copy link

Describe Your Problem:

Hi Helander,
would it be possible to use the the "ip" module with this version of node-red? I tried to use the "node-red-contrib-homekit-bridged" palette, but it is missing the "ip" module, when installing node-red parallel to homebridge I could use "npm install ip" inside the "~/.node-red" directory but I don't know where to install this "inside" your plugin.
Logs:
Error: Cannot find module 'ip'
Require stack:

  • /var/lib/homebridge/nodered-1956/node_modules/node-red-contrib-homekit-bridged/build/lib/cameraSource/index.js
  • /var/lib/homebridge/nodered-1956/node_modules/node-red-contrib-homekit-bridged/build/lib/utils/ServiceUtils.js
  • /var/lib/homebridge/nodered-1956/node_modules/node-red-contrib-homekit-bridged/build/lib/HAPServiceNode.js
  • /var/lib/homebridge/nodered-1956/node_modules/node-red-contrib-homekit-bridged/build/nodes/service.js
  • /var/lib/homebridge/node_modules/@helander/homebridge-node-red/node_modules/@node-red/registry/lib/loader.js
  • /var/lib/homebridge/node_modules/@helander/homebridge-node-red/node_modules/@node-red/registry/lib/index.js
  • /var/lib/homebridge/node_modules/@helander/homebridge-node-red/node_modules/@node-red/runtime/lib/nodes/index.js
  • /var/lib/homebridge/node_modules/@helander/homebridge-node-red/node_modules/@node-red/runtime/lib/index.js
  • /var/lib/homebridge/node_modules/@helander/homebridge-node-red/node_modules/node-red/lib/red.js
  • /var/lib/homebridge/node_modules/@helander/homebridge-node-red/dist/platform.js
  • /var/lib/homebridge/node_modules/@helander/homebridge-node-red/dist/index.js
  • /var/lib/homebridge/node_modules/homebridge/lib/plugin.js
  • /var/lib/homebridge/node_modules/homebridge/lib/pluginManager.js
  • /var/lib/homebridge/node_modules/homebridge/lib/server.js
  • /var/lib/homebridge/node_modules/homebridge/lib/cli.js
  • /var/lib/homebridge/node_modules/homebridge/bin/homebridge```
    Show the Homebridge logs here, remove any sensitive information.

**Plugin Config:**

```json
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

Your help is highly appreciated.

@shanse01 shanse01 added the question Further information is requested label Feb 19, 2024
@helander
Copy link
Owner

Hi, do the installation in /var/lib/homebridge/nodered-1956

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants