Hey all, I’ve started getting an error today that I don’t know how to debug. I updated Home Assistant to 2024.10 today and zigbee2mqtt to 1.40.2-1, and I’m now getting the following error whenever I try to start up zigbee2mqtt:
[20:43:03] INFO: Preparing to start...
[20:43:04] INFO: Socat not enabled
[20:43:06] INFO: Starting Zigbee2MQTT...
node:internal/modules/package_json_reader:92
throw error;
^
SyntaxError: Error parsing /app/package.json: Unexpected end of JSON input
at parse (<anonymous>)
at read (node:internal/modules/package_json_reader:79:16)
at readPackage (node:internal/modules/package_json_reader:140:10)
at readPackageScope (node:internal/modules/package_json_reader:157:19)
at shouldUseESMLoader (node:internal/modules/run_main:77:15)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:122:24)
at node:internal/main/run_main_module:28:49 {
path: '/app/package.json'
}
Node.js v18.20.1
I’ve tried researching this issue and finding any related issues but can’t work out what’s going on. I’ve seen someone saying it’s potentially a corrupted database, but I don’t know how to help that either! Any help would be appreciated.