this is what he gives me.
pi@raspberrypi:~ $ cd ~/MagicMirror
pi@raspberrypi:~/MagicMirror $ pm2 logs mm --lines=100
[TAILING] Tailing last 100 lines for [mm] process (change the value with --lines option)
/home/pi/.pm2/logs/mm-error.log last 100 lines:
0|mm | [2025-03-09 19:48:01.357] [ERROR] (node:2136) UnhandledPromiseRejectionWarning: SyntaxError: Error parsing /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/package.json: Unexpected end of JSON input
0|mm | at parse ()
0|mm | at Object.read (node:internal/modules/package_json_reader:75:16)
0|mm | at readPackage (node:internal/modules/cjs/loader:369:28)
0|mm | at resolveExports (node:internal/modules/cjs/loader:550:15)
0|mm | at Module._findPath (node:internal/modules/cjs/loader:628:31)
0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1041:27)
0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:115476)
0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|mm | at Module._load (node:internal/modules/cjs/loader:908:27)
0|mm | at c._load (node:electron/js2c/node_init:2:13672)
0|mm | at Module.require (node:internal/modules/cjs/loader:1122:19)
0|mm | at require (node:internal/modules/helpers:130:18)
0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:18:19)
0|mm | at Module._compile (node:internal/modules/cjs/loader:1256:14)
0|mm | at Module._extensions…js (node:internal/modules/cjs/loader:1311:10)
0|mm | at Module.load (node:internal/modules/cjs/loader:1098:32)
0|mm | (Use electron --trace-warnings ... to show where the warning was created)
0|mm | [2025-03-09 19:48:01.361] [ERROR] (node:2136) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
0|mm | Gdk-Message: 19:48:14.328: electron: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.
0|mm |
0|mm | [2025-03-09 19:58:15.652] [ERROR] (node:1753) UnhandledPromiseRejectionWarning: SyntaxError: Error parsing /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/package.json: Unexpected end of JSON input
0|mm | at parse ()
0|mm | at Object.read (node:internal/modules/package_json_reader:75:16)
0|mm | at readPackage (node:internal/modules/cjs/loader:369:28)
0|mm | at resolveExports (node:internal/modules/cjs/loader:550:15)
0|mm | at Module._findPath (node:internal/modules/cjs/loader:628:31)
0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1041:27)
0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:115476)
0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|mm | at Module._load (node:internal/modules/cjs/loader:908:27)
0|mm | at c._load (node:electron/js2c/node_init:2:13672)
0|mm | at Module.require (node:internal/modules/cjs/loader:1122:19)
0|mm | at require (node:internal/modules/helpers:130:18)
0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:18:19)
0|mm | at Module._compile (node:internal/modules/cjs/loader:1256:14)
0|mm | at Module._extensions…js (node:internal/modules/cjs/loader:1311:10)
0|mm | at Module.load (node:internal/modules/cjs/loader:1098:32)
0|mm | (Use electron --trace-warnings ... to show where the warning was created)
0|mm | [2025-03-09 19:58:15.659] [ERROR] (node:1753) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
0|mm | Gdk-Message: 19:58:23.609: electron: Fatal IO error 0 (Succès) on X server :0.
0|mm |
0|mm | [2025-03-09 20:02:43.104] [ERROR] (node:1422) UnhandledPromiseRejectionWarning: SyntaxError: Error parsing /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/package.json: Unexpected end of JSON input
0|mm | at parse ()
0|mm | at Object.read (node:internal/modules/package_json_reader:75:16)
0|mm | at readPackage (node:internal/modules/cjs/loader:369:28)
0|mm | at resolveExports (node:internal/modules/cjs/loader:550:15)
0|mm | at Module._findPath (node:internal/modules/cjs/loader:628:31)
0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1041:27)
0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:115476)
0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|mm | at Module._load (node:internal/modules/cjs/loader:908:27)
0|mm | at c._load (node:electron/js2c/node_init:2:13672)
0|mm | at Module.require (node:internal/modules/cjs/loader:1122:19)
0|mm | at require (node:internal/modules/helpers:130:18)
0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:18:19)
0|mm | at Module._compile (node:internal/modules/cjs/loader:1256:14)
0|mm | at Module._extensions…js (node:internal/modules/cjs/loader:1311:10)
0|mm | at Module.load (node:internal/modules/cjs/loader:1098:32)
0|mm | (Use electron --trace-warnings ... to show where the warning was created)
0|mm | [2025-03-09 20:02:43.107] [ERROR] (node:1422) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
0|mm | Gdk-Message: 20:54:50.269: electron: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.
0|mm |
0|mm | [2025-03-10 17:50:25.427] [ERROR] (node:2106) UnhandledPromiseRejectionWarning: SyntaxError: Error parsing /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/package.json: Unexpected end of JSON input
0|mm | at parse ()
0|mm | at Object.read (node:internal/modules/package_json_reader:75:16)
0|mm | at readPackage (node:internal/modules/cjs/loader:369:28)
0|mm | at resolveExports (node:internal/modules/cjs/loader:550:15)
0|mm | at Module._findPath (node:internal/modules/cjs/loader:628:31)
0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1041:27)
0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:115476)
0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|mm | at Module._load (node:internal/modules/cjs/loader:908:27)
0|mm | at c._load (node:electron/js2c/node_init:2:13672)
0|mm | at Module.require (node:internal/modules/cjs/loader:1122:19)
0|mm | at require (node:internal/modules/helpers:130:18)
0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:18:19)
0|mm | at Module._compile (node:internal/modules/cjs/loader:1256:14)
0|mm | at Module._extensions…js (node:internal/modules/cjs/loader:1311:10)
0|mm | at Module.load (node:internal/modules/cjs/loader:1098:32)
0|mm | (Use electron --trace-warnings ... to show where the warning was created)
0|mm | [2025-03-10 17:50:25.430] [ERROR] (node:2106) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
/home/pi/.pm2/logs/mm-out.log last 100 lines:
0|mm |
0|mm | > magicmirror@2.27.0 start
0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
0|mm |
0|mm | [2025-03-09 19:47:59.893] [LOG] Starting MagicMirror: v2.27.0
0|mm | [2025-03-09 19:47:59.962] [LOG] Loading config …
0|mm | [2025-03-09 19:47:59.971] [LOG] config template file not exists, no envsubst
0|mm | [2025-03-09 19:47:59.980] [LOG] Loading module helpers …
0|mm |
0|mm | > magicmirror@2.27.0 start
0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
0|mm |
0|mm | [2025-03-09 19:58:14.143] [LOG] Starting MagicMirror: v2.27.0
0|mm | [2025-03-09 19:58:14.212] [LOG] Loading config …
0|mm | [2025-03-09 19:58:14.225] [LOG] config template file not exists, no envsubst
0|mm | [2025-03-09 19:58:14.239] [LOG] Loading module helpers …
0|mm |
0|mm | > magicmirror@2.27.0 start
0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
0|mm |
0|mm | [2025-03-09 20:02:41.778] [LOG] Starting MagicMirror: v2.27.0
0|mm | [2025-03-09 20:02:41.852] [LOG] Loading config …
0|mm | [2025-03-09 20:02:41.858] [LOG] config template file not exists, no envsubst
0|mm | [2025-03-09 20:02:41.870] [LOG] Loading module helpers …
0|mm | [2025-03-09 20:02:53.609] [INFO] System information:
0|mm | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false
0|mm | ### OS: platform: linux; distro: Raspbian GNU/Linux; release: 10; arch: arm; kernel: 5.10.103-v7+
0|mm | ### VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 18.18.0; npm: 9.8.1; pm2: 5.3.1
0|mm | ### OTHER: timeZone: Europe/Paris; ELECTRON_ENABLE_GPU: undefined
0|mm |
0|mm | > magicmirror@2.27.0 start
0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
0|mm |
0|mm | [2025-03-10 17:50:17.717] [LOG] Starting MagicMirror: v2.27.0
0|mm | [2025-03-10 17:50:17.811] [LOG] Loading config …
0|mm | [2025-03-10 17:50:17.824] [LOG] config template file not exists, no envsubst
0|mm | [2025-03-10 17:50:17.843] [LOG] Loading module helpers …
0|mm | [2025-03-10 17:50:47.882] [INFO] System information:
0|mm | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false
0|mm | ### OS: platform: linux; distro: Raspbian GNU/Linux; release: 10; arch: arm; kernel: 5.10.103-v7+
0|mm | ### VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 18.18.0; npm: 9.8.1; pm2: 5.3.1
0|mm | ### OTHER: timeZone: Europe/Paris; ELECTRON_ENABLE_GPU: undefined