So, my SmartMirror was setup once again and then it started working and will no longer start up. This is what happens when I try and force it to start.
rutger@smartmirror:~/MagicMirror $ npm start dev
magicmirror@2.27.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js dev
[2024-04-14 10:45:29.422] [LOG] Starting MagicMirror: v2.27.0
[2024-04-14 10:45:29.481] [LOG] Loading config …
[2024-04-14 10:45:29.488] [LOG] config template file not exists, no envsubst
[2024-04-14 10:45:29.495] [LOG] Loading module helpers …
[2024-04-14 10:45:29.497] [LOG] No helper found for module: alert.
[2024-04-14 10:45:29.976] [LOG] Initializing new module helper …
[2024-04-14 10:45:29.977] [LOG] Module helper loaded: updatenotification
[2024-04-14 10:45:29.979] [LOG] No helper found for module: clock.
[2024-04-14 10:45:29.981] [LOG] No helper found for module: MMM-NsInfo.
[2024-04-14 10:45:29.983] [LOG] No helper found for module: compliments.
[2024-04-14 10:45:29.984] [LOG] No helper found for module: weather.
[2024-04-14 10:45:31.036] [ERROR] (node:1578) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘core-js/modules/es.string.replace.js’
Require stack:
- /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/url-signature/dist/index.umd.js
- /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/serialize.js
- /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/directions.js
- /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/client.js
- /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/geolocate.js
- /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/index.js
- /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_helper.js
- /home/rutger/MagicMirror/js/app.js
- /home/rutger/MagicMirror/js/electron.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15)
at s._resolveFilename (node:electron/js2c/browser_init:2:115690)
at Module._resolveFilename (/home/rutger/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:908:27)
at c._load (node:electron/js2c/node_init:2:13672)
at Module.require (node:internal/modules/cjs/loader:1122:19)
at require (node:internal/modules/helpers:130:18)
at /home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/url-signature/dist/index.umd.js:1:79
at Object. (/home/rutger/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/url-signature/dist/index.umd.js:1:807)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1311:10)
at Module.load (node:internal/modules/cjs/loader:1098:32)
at Module._load (node:internal/modules/cjs/loader:945:12)
at c._load (node:electron/js2c/node_init:2:13672)
at Module.require (node:internal/modules/cjs/loader:1122:19)
at require (node:internal/modules/helpers:130:18)
(Useelectron --trace-warnings ...
to show where the warning was created)
[2024-04-14 10:45:31.059] [ERROR] (node:1578) 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: 1)
[2024-04-14 10:45:40.165] [INFO] System information: