question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Just installed home bridge, will not start

See original GitHub issue

Expected Behavior -

it starts up

Current Behavior - it does not start up, displays this:

module.js:538 throw err; ^ Error: Cannot find module ‘…/build/Release/dns_sd_bindings’ at Function.Module._resolveFilename (module.js:536:15) at Function.Module._load (module.js:466:25) at Module.require (module.js:579:17) at require (internal/module.js:11:18) at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:32:22) at Module._compile (module.js:635:30) at Object.Module._extensions…js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3)

Steps to Reproduce (for bugs)

run home bridge command

Versions

  • Homebridge: `4.31
  • Node: v8.9.1
  • OS: macOS 10.13

Configuration

{ “bridge”: { “name”: “Homebridge”, “username”: “CC:22:3D:E3:CE:30”, “port”: 51826, “pin”: “xxx-xx-xxx” },

"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

"accessories": [
    {
        "accessory": "WeMo",
        "name": "Coffee Maker"
    }
],

"platforms": [
    {
    	"platform" : "EcoPlug",
    	"name" : "EcoPlug"
    }
]

}

Homebridge Log / Command Output


Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

5reactions
rgerrcommented, Nov 16, 2017

Fixed it, downgraded node.js to v7.9.0, deleted 9.x, then sudo npm install --unsafe-perm mdns cd /usr/local/lib/node_modules/homebridge sudo npm rebuild --unsafe-perm

0reactions
stale[bot]commented, Jun 20, 2018

This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic Troubleshooting · homebridge/homebridge Wiki - GitHub
This is normally caused by a homebridge process running in the background without you realizing it. If you've set your homebridge install to...
Read more >
Homebridge Not starting up - Reddit
I have been running Homebridge on my Raspberry Pi 4 in a docker container for almost a year. I was rewiring my entertainment...
Read more >
Homebridge troubleshooting - Particle Community
The wiki in the Pi section has an installation guide listed under 'Running Homebridge on Bootup (systemd)' that lists the steps.
Read more >
Set up HomePod mini or HomePod as a home hub
Apple TV* automatically becomes a home hub when you add it to HomeKit. Open Settings on Apple TV. Select Users and Accounts. Make...
Read more >
HomeKit - Home Assistant
Instructions on how to set up the HomeKit Bridge integration in Home Assistant. ... Only necessary if the default from Home Assistant does...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found