Zigbee2mqtt - error parsing package.json during startup

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.

Just created this account, because I don’t see any answer, and after searching for some answer, I didn’t get any.
I saved my configuration to a notepad, and uninstall the zigbee2mqtt from the add-ons, restart the Home Assistant, and reinstall Zigbee2MQTT, copy and paste the configuration, and start it, everything back to normal, it’s been 1 hour, all my automation that using zigbee works fine. I hope it can help.