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

Latest NB update gives log warning --> TypeError: this[("add" + className)] #142

Closed
mtressl opened this issue Sep 20, 2024 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@mtressl
Copy link

mtressl commented Sep 20, 2024

The latest update (v1.4.24) shows repeatedly the following waring in my logs:

[9/20/2024, 5:05:49 PM] [homebridge-nb] warning: TypeError: this[("add" + className)] is not a function at NbPlatform.foundBridge (file:///var/lib/homebridge/node_modules/homebridge-nb/lib/NbPlatform.js:253:40) at NbPlatform.discover (file:///var/lib/homebridge/node_modules/homebridge-nb/lib/NbPlatform.js:143:22) at processTicksAndRejections (node:internal/process/task_queues:95:5) at NbPlatform.heartbeat (file:///var/lib/homebridge/node_modules/homebridge-nb/lib/NbPlatform.js:159:9) [9/20/2024, 5:05:49 PM] [homebridge-nb] warning: TypeError: this[("add" + className)] is not a function at NbPlatform.foundBridge (file:///var/lib/homebridge/node_modules/homebridge-nb/lib/NbPlatform.js:253:40) at NbPlatform.discover (file:///var/lib/homebridge/node_modules/homebridge-nb/lib/NbPlatform.js:143:22) at processTicksAndRejections (node:internal/process/task_queues:95:5) at NbPlatform.heartbeat (file:///var/lib/homebridge/node_modules/homebridge-nb/lib/NbPlatform.js:159:9)

Everything seems to work fine, just wanted to point it out.

@mtressl mtressl changed the title Latest NB update gives log warning (TypeError: this[("add" + className)]) Latest NB update gives log warning --> TypeError: this[("add" + className)] Sep 20, 2024
@ebaauw ebaauw closed this as completed in 63b224c Sep 20, 2024
@ebaauw ebaauw added the bug Something isn't working label Sep 20, 2024
@ebaauw
Copy link
Owner

ebaauw commented Sep 20, 2024

Fixed in v1.4.25.

@ebaauw
Copy link
Owner

ebaauw commented Sep 21, 2024

v1.4.25 also has issues, see #143. Best revert to v1.4.23 for now.

ebaauw added a commit that referenced this issue Sep 23, 2024
Another attempt at refactoring startup logic, see #142.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants