don/node-eddystone-beacon

Uncaught Exception: Error: Module did not self-register on electron

Closed this issue · 2 comments

I've got an error when I was trying to use node-eddystone-beacon(bleno) with electron. But It works well on terminal with node

  • node v0.10.29
  • electron: 0.29.2
  • os: mac 10.10.3

here is the error message:

App threw an error when running [Error: Module did not self-register.]
2015-07-17 01:27:37.122 Electron[14999:2357677] Communications error: <OS_xpc_error: <error: 0x7fff7b4c5c60> { count = 1, contents =
"XPCErrorDescription" => <string: 0x7fff7b4c5f70> { length = 18, contents = "Connection invalid" }
}>
2015-07-17 01:27:37.122 Electron[14999:2357587] --error: [ShareKit] error calling +[NSExtension extensionsWithMatchingAttributes:error:]: Error Domain=PlugInKit Code=4 "Connection invalid" UserInfo=0x7fc1385b07f0 {NSLocalizedDescription=Connection invalid}

@ragingwind this is probably an issue with electron and compatibility with bleno.

bleno uses an XPC connection on OS X, you'll have to track down what's going on. Please raise an issue here if you determine it's a problem with bleno: https://github.com/sandeepmistry/bleno/issues

Thanks, I created new issue noble/bleno#114