Hello,
I need help, i have Homebridge installed on my NAS Synology. Everything was working fine until yesterday after an update.
The status is “Not running”
This is the LOG below:
Node.js v20.9.0
[8/31/2024, 1:07:06 PM] [HB Supervisor] Homebridge Process Ended. Code: 1, Signal: null
[8/31/2024, 1:07:11 PM] [HB Supervisor] Restarting Homebridge…
[8/31/2024, 1:07:11 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /volume1/homebridge/node_modules -D -K --strict-plugin-resolution
[8/31/2024, 1:07:11 PM] [HB Supervisor] Started Homebridge v2.0.0-beta.13 with PID: 23113
node:internal/errors:497
ErrorCaptureStackTrace(err);
^
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension “” for /volume1/homebridge/node_modules/homebridge/bin/homebridge. Loading extensionless files is not supported inside of “type”:“module” package.json contexts. The package.json file /volume1/homebridge/node_modules/homebridge/package.json caused this “type”:“module” context. Try changing /volume1/homebridge/node_modules/homebridge/bin/homebridge to have a file extension. Note the “bin” field of package.json can point to a file with an extension, for example {“type”:“module”,“bin”:{“homebridge”:“./bin/homebridge.js”}}
at new NodeError (node:internal/errors:406:5)
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:99:9)
at defaultGetFormat (node:internal/modules/esm/get_format:142:36)
at defaultLoad (node:internal/modules/esm/load:120:20)
at ModuleLoader.load (node:internal/modules/esm/loader:396:13)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:56)
at new ModuleJob (node:internal/modules/esm/module_job:65:26)
at #createModuleJob (node:internal/modules/esm/loader:290:17)
at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:248:34)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:229:17) {
code: ‘ERR_UNKNOWN_FILE_EXTENSION’
}
Node.js v20.9.0
[8/31/2024, 1:07:11 PM] [HB Supervisor] Homebridge Process Ended. Code: 1, Signal: null
Thanks for your help