You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running the latest HomeBridge and HomeConnect on a Synology, and as far as I can tell the latest version of Node.js offered on Synology is v20.9.0.
Expected Behaviour
Plugin should load successfully on Node.js v20.9.0
Steps to Reproduce
When starting up, plugin emits this output:
[10/7/2024, 9:48:34 AM] The plugin "homebridge-homeconnect" requires Node.js version of ^22.8.0 || ^20.17.0 || ^18.20.4 which does not satisfy the current Node.js version of v20.9.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[10/7/2024, 9:48:34 AM] ====================
[10/7/2024, 9:48:34 AM] ERROR LOADING PLUGIN homebridge-homeconnect:
[10/7/2024, 9:48:34 AM] SyntaxError: Unexpected token 'with'
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:118:18)
at callTranslator (node:internal/modules/esm/loader:273:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:30)
[10/7/2024, 9:48:34 AM] ====================
Plugin Version
1.0.4
Environment
OS: Synology DMS 7.2.1
Node: 20.9.0
Homebridge: 1.8.4
Home Connect Appliance(s)
No response
HomeKit App(s)
No response
Diagnostic Checks
Home Connect app is able to control the appliance with Wi-Fi disabled.
Home Connect app shows three green lines in the Network section of the appliance Settings.
[10/7/2024, 9:48:34 AM] The plugin "homebridge-homeconnect" requires Node.js version of ^22.8.0 || ^20.17.0 || ^18.20.4 which does not satisfy the current Node.js version of v20.9.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[10/7/2024, 9:48:34 AM] ====================
[10/7/2024, 9:48:34 AM] ERROR LOADING PLUGIN homebridge-homeconnect:
[10/7/2024, 9:48:34 AM] SyntaxError: Unexpected token 'with'
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:118:18)
at callTranslator (node:internal/modules/esm/loader:273:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:30)
[10/7/2024, 9:48:34 AM] ====================
A breaking change was made to Node.js, so to work with the latest LTS releases I had to make a change to this plugin that makes it incompatible with earlier versions. The minimum supported Node.js versions should now be: 18.20, 20.10, or 22. However I only test against the latest versions on each LTS branch, which is why the package.json specifies higher versions than these.
You will need to stay on v1.0.3 of this plugin until Synology release a sufficiently up-to-date version of Node.js.
Description of Issue
I'm running the latest HomeBridge and HomeConnect on a Synology, and as far as I can tell the latest version of Node.js offered on Synology is v20.9.0.
Expected Behaviour
Plugin should load successfully on Node.js v20.9.0
Steps to Reproduce
When starting up, plugin emits this output:
Plugin Version
1.0.4
Environment
Home Connect Appliance(s)
No response
HomeKit App(s)
No response
Diagnostic Checks
Log File
Configuration
Additional Information
No response
The text was updated successfully, but these errors were encountered: