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

Error loading pluin #12

Closed
danewallace opened this issue Feb 1, 2019 · 3 comments
Closed

Error loading pluin #12

danewallace opened this issue Feb 1, 2019 · 3 comments

Comments

@danewallace
Copy link

I'm receiving the following error when trying to load the ring-alarm plugin after a successful install. Other plugins load just fine. JSON is valid. Everything launches just fine if plugin Is uninstalled. Node v10.5.0. I appreciate the help.

Loaded plugin: homebridge-ring-alarm
/usr/local/lib/node_modules/homebridge/lib/server.js:166
plugin.initializer(this._api);
^

TypeError: plugin.initializer is not a function
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:166:14)
at Array.forEach (:null:null)
at Server._loadPlugins (/usr/local/lib/node_modules/homebridge/lib/server.js:140:22)
at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:57:24)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:28:16)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
at startup (internal/bootstrap/node.js:240:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:564:3)

@dgreif
Copy link
Owner

dgreif commented Feb 1, 2019

Have you tried the latest version of homebridge? Looks like this might have been fixed in v0.4.46 homebridge/homebridge@9b87762

@danewallace
Copy link
Author

danewallace commented Feb 1, 2019 via email

@dgreif
Copy link
Owner

dgreif commented Feb 2, 2019

Great, glad to hear that!

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

No branches or pull requests

2 participants