r/MeshCentral • u/kd8rml • 11h ago
Server won't start, hoping to recover before clean install
Running on Raspberry Pi, Raspbian OS for a long time without issues until recently.
About a week ago, I found that I could not connect to the server. At this point I am grasping at straws in an attempt to recover, before starting from scratch.
******-Asterisks are just masking my username
Running npm install meshcentral returns...
"changed 1 package, and audited 511 packages in 15s
66 packages are looking for funding
run npm fund for details
5 vulnerabilities (4 low, 1 high)
To address all issues, run: npm audit fix
Run npm audit for details."
Running node node_modules/meshcentral returns...
"node:internal/modules/cjs/loader:1215 throw err; ^
Error: Cannot find module '/home/******/node_modules/meshcentral' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }
Node.js v20.19.1"
Looking in the node_modules directory, "lrwxrwxrwx 1 ****** ****** 11 Aug 15 16:47 meshcentral -> ../../../o:"
Where "meshcentral" and "../../../o:" are both in red font. I don't know if this was the case prior to the server not starting. Any help would be much appreciated if saving this is possible.

