thoukydides / homebridge-homeconnect

Home Connect home appliances plugin for Homebridge
https://www.thouky.co.uk
ISC License
136 stars 14 forks source link

Cannot open settings #300

Open Jstrorma opened 5 hours ago

Jstrorma commented 5 hours ago

Description of Issue

[homebridge-homeconnect] file:///volume1/homebridge/node_modules/homebridge-homeconnect/dist/settings.js:3 import PACKAGE from '../package.json' with { type: 'json' }; ^^^^

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)

Node.js v20.9.0

Expected Behaviour

Open the settings

Steps to Reproduce

Open the settings

Plugin Version

1.0.4

Environment

Home Connect Appliance(s)

No response

HomeKit App(s)

No response

Diagnostic Checks

Log File

[homebridge-homeconnect] file:///volume1/homebridge/node_modules/homebridge-homeconnect/dist/settings.js:3
import PACKAGE from '../package.json' with { type: 'json' };
                                      ^^^^

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)

Node.js v20.9.0

Configuration

{
    "platform": "HomeConnect",
    "name": "HomeConnect"
}

Additional Information

No response

thoukydides commented 4 hours ago

You require a more recent version of Node.js.

On the Node 20 branch you require at least 20.10.0 for nodejs/node#50140.