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.

homebridge fails to start module did not self register

See original GitHub issue

Running nodejs v7.7.3 on Linux Mint 17.3 (Ubuntu 14.04)

seems to install fine with no errors or warnings

on running the program either privileged or non it throws the same error.

`/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:35 throw ex; ^

Error: Module did not self-register. at Object.Module._extensions…node (module.js:598:18) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:24:20) at Module._compile (module.js:571:32) at Object.Module._extensions…js (module.js:580:10) at Module.load (module.js:488:32) `

I have seen this error on several searches and all of the fixes presented there don’t work and the others are all closed. Have already tried uninstall and reinstall. Checked for every suggested library update. Still no go.

I am very much not a Node.JS guy so trouble shooting this is a bit beyond me.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
NorthernMan54commented, Jul 27, 2018

If your on slacks homebridge channel, we can chat directly as well

On Jul 26, 2018, at 8:49 PM, Jacob Ford notifications@github.com wrote:

Sure thing. Just pushed lastest to https://github.com/unitof/homebridge-inbuzzer/tree/onoffify https://github.com/unitof/homebridge-inbuzzer/tree/onoffify. Make sure you checkout the branch onoffify.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nfarina/homebridge/issues/1207#issuecomment-408278068, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5CmA3TScTNqF9KBFk2DFCi-CWgeWRVks5uKmOOgaJpZM4MevjA.

1reaction
snowdd1commented, Jun 14, 2017

This “tutorial” is auto-generated by npm and does not help. Use the installation hints in the wiki of homebridge instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught Error: Module did not self-register - Stack Overflow
I try to use node-vlc with nw.js (v0.12.0-alpha2). When i launch ...
Read more >
Error: Module did not self-register couchbase - Node.js SDK
You might check a couple of things. First, in node_modules/couchbase/build/Release you should find the built module. Run ldd/otool or like ...
Read more >
homebridge - npm
Homebridge is a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API. It supports Plugins, which...
Read more >
Homebridge and npm / node locations on Raspberry Pi OS ...
When running Homebridge using this package, plugins are not installed globally using the -g flag, they are installed directly into /var/lib/ ...
Read more >
Homebridge for HomeKit hack - Indigo Domotics • View topic
So, any time you make a change in Indigo, you need to restart HomeBridge. ... Error: Module did not self-register. at Error (native)...
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