@sdetweil ahh ok I didn’t know there is a difference to restart… :(
however now we’re talking:
I could figure out and fix the error in the node_helper.js. Now its working and this is the output:
root@magicmirror:/opt/magicmirror# npm run server
> magicmirror@2.26.0 server
> node ./serveronly
[03.01.2024 22:54.21.808] [LOG] Starting MagicMirror: v2.26.0
[03.01.2024 22:54.21.809] [LOG] Loading config ...
[03.01.2024 22:54.21.809] [DEBUG] config template file not exists, no envsubst
[03.01.2024 22:54.21.810] [LOG] Loading module helpers ...
[03.01.2024 22:54.21.811] [LOG] No helper found for module: alert.
[03.01.2024 22:54.21.814] [LOG] Initializing new module helper ...
[03.01.2024 22:54.21.814] [LOG] Module helper loaded: updatenotification
[03.01.2024 22:54.21.814] [LOG] No helper found for module: clock.
[03.01.2024 22:54.21.858] [LOG] Initializing new module helper ...
[03.01.2024 22:54.21.858] [LOG] Module helper loaded: calendar
[03.01.2024 22:54.21.858] [LOG] No helper found for module: MMM-AareGuru.
[03.01.2024 22:54.21.859] [ERROR] Whoops! There was an uncaught exception...
[03.01.2024 22:54.21.861] [ERROR] Error: Cannot find module 'request'
Require stack:
- /opt/magicmirror/modules/MMM-BMW-OW/node_helper.js
- /opt/magicmirror/js/app.js
- /opt/magicmirror/serveronly/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._resolveFilename (/opt/magicmirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (/opt/magicmirror/modules/MMM-BMW-OW/node_helper.js:9:17)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at loadModule (/opt/magicmirror/js/app.js:181:19)
at loadModules (/opt/magicmirror/js/app.js:211:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async App.start (/opt/magicmirror/js/app.js:259:3) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/opt/magicmirror/modules/MMM-BMW-OW/node_helper.js',
'/opt/magicmirror/js/app.js',
'/opt/magicmirror/serveronly/index.js'
]
}
[03.01.2024 22:54.21.861] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[03.01.2024 22:54.21.861] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
root@magicmirror:/opt/magicmirror#
Still no functional MMM-BMW-OW though.