Skip to content

Minimum Node.js LTS versions: 18.20, 20.10, or 22 #300

Closed
@Jstrorma

Description

@Jstrorma

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

  • OS: Synology NAS
  • Node:
  • Homebridge: 1.8.4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions