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.

Pine64 Module version mismatch. Expected 48, got 46 - mdns

See original GitHub issue

Having this issue when running Homebridge. I’ve tried npm rebuild and npm -r on the mdns module and reinstalling it. No luck.

~$ node -v
v6.2.2
~$ npm -v
3.5.2
openhab@openhab:~$ homebridge
/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:35
    throw ex;
    ^

Error: Module version mismatch. Expected 48, got 46.
    at Error (native)
    at Object.Module._extensions..node (module.js:568:18)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:24:20)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
robertcedwardscommented, Sep 17, 2016

I was able to fix it by rolling back to node 4.0 .0 On Sat, Sep 17, 2016 at 11:22 AM Brian Hanifin notifications@github.com wrote:

I’m having this same issue. If you figure it out let me know. I wonder if finding a newer version of libavahi-compat-libdnssd-dev would fix it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nfarina/homebridge/issues/767#issuecomment-247795468, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIh_90VNF9rHtBT7BdZ0PjXzE4SKG-gks5qrDAAgaJpZM4J90IA .

1reaction
brianhanifincommented, Sep 17, 2016

Fixed by username added to conf. 😃

Close this issue down kind admin.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pine64 Module version mismatch. Expected 48, got 46 - mdns
Having this issue when running Homebridge. I've tried npm rebuild and npm -r on the mdns module and reinstalling it. No luck.
Read more >
NodeJS Error: Module version mismatch. Expected 48, got 46
Actually, after upgrading node, your installed packages kept compiled against the older version, and they need to be rebuilt.
Read more >
Node.js – Error: Module version mismatch. Expected 48, got 46.
Hello all,. This error is generated by the fact that you just upgraded a your major Node.js version, which is good, and your...
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/24 17 ...
Server and Client." status:UNCONFIRMED resolution: severity:enhancement · Bug:372551 - "sys-apps/openrc: rc.c:read_key() hangs waiting for input at ...
Read more >
FreedomBox/Manual - Debian Wiki
The primary design goal of FreedomBox is to be used as a personal server at home for use by a single family and...
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