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

v1.0.1 on Homebridge v2.0.0 beta 20 TypeError in Class constructor Service #5

Open
fubu2k opened this issue Sep 12, 2024 · 0 comments

Comments

@fubu2k
Copy link

fubu2k commented Sep 12, 2024

Homebride v2.0.0 beta 20
Plugin v1.0.1

Runs without error on Homebridge v1.8.4

9/12/2024, 7:57:50 AM] [Jahreszeiten] Child bridge starting (pid 544)...
[9/12/2024, 7:57:50 AM] Registering platform 'homebridge-seasons.Seasons'
[9/12/2024, 7:57:50 AM] [Jahreszeiten] Child bridge started successfully (plugin v1.0.1).
[9/12/2024, 7:57:50 AM] Loaded 0 cached accessories from cachedAccessories.0E3375D96D36.

/homebridge/node_modules/homebridge-seasons/index.js:25
Service.call(this, displayName, CustomUUID.SeasonService, subtype);
^
TypeError: Class constructor Service cannot be invoked without 'new'
at new SeasonService (/homebridge/node_modules/homebridge-seasons/index.js:25:11)
at new SeasonsAccessory (/homebridge/node_modules/homebridge-seasons/index.js:84:23)
at SeasonsPlatform.accessories (/homebridge/node_modules/homebridge-seasons/index.js:62:25)
at file:///homebridge/node_modules/homebridge/src/bridgeService.ts:494:24
at new Promise ()
at BridgeService.loadPlatformAccessories (file:///homebridge/node_modules/homebridge/src/bridgeService.ts:488:12)
at ChildBridgeFork.startBridge (file:///homebridge/node_modules/homebridge/src/childBridgeFork.ts:160:36)
[9/12/2024, 7:57:50 AM] [Jahreszeiten] Child bridge ended (code 1, signal null). The child bridge ended unexpectedly, which is normally due to the plugin not catching its errors properly. Please report this to the plugin developer by clicking on the 'Report An Issue' option in the plugin menu dropdown from the Homebridge UI. If there are related logs shown above, please include them in your report.
[9/12/2024, 7:57:50 AM] [Jahreszeiten] Child bridge will automatically restart in 40 seconds (restart attempt 4 of 4).

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

1 participant