so if I start/restart MM with this module in my config.js, nothing actually happens, the screen stays on desktop and the pm2 log shows:
0|mm | (Useelectron --trace-warnings ...to show where the warning was created) 0|mm | [31.01.2024 13:13.28.996] [ERROR] (node:1849) 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 | /home/timon/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|mm | /home/timon/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
I have no idea what's going on :D
This is the output of SDetweil's upgrade script:
`doing test run = false
Node currently installed. Checking version number.
Minimum Node version: v20.8.0
Installed Node version: v20.8.0
Check current Node installation ...
Node currently installed. Checking version number.
Minimum Node version: v20.8.0
Installed Node version: v20.8.0
No Node.js upgrade necessary.
Check current NPM installation ...
NPM currently installed. Checking version number.
Minimum npm version: V10.1.0
Installed npm version: V10.1.0
No npm upgrade necessary.
saving custom.css
local version 2.26.0 already same as master 2.26.0
restoring custom.css
`
Hi,
so if I start/restart MM with this module in my config.js, nothing actually happens, the screen stays on desktop and the
pm2 log
shows:0|mm | (Use
electron --trace-warnings ...to show where the warning was created) 0|mm | [31.01.2024 13:13.28.996] [ERROR] (node:1849) 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 | /home/timon/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|mm | /home/timon/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
I have no idea what's going on :D
This is the output of SDetweil's upgrade script:
`doing test run = false Node currently installed. Checking version number. Minimum Node version: v20.8.0 Installed Node version: v20.8.0 Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v20.8.0 Installed Node version: v20.8.0 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V10.1.0 Installed npm version: V10.1.0 No npm upgrade necessary.
saving custom.css local version 2.26.0 already same as master 2.26.0 restoring custom.css `
and this is the module in my config.js:
{ module: "clock", position: "top_left" }, { module: 'MMM-Solarman', position: 'top_left', config: { accessToken: ***** deviceSn: '*****', appId: '*******', updateInterval: 30000, } }, { module: "MMM-PIR-Sensor-Lite", position: "top_left", config: {
any help is greatly appreciated!