Just to pick back up on this, I checked my bash history and I did npm run install-mm after the clipping fix.
I have tried a few times now to do this with the same result, this time without the clipping fix.
Reflashed the image and then the following steps are my bash history from first run of the OS. Only change to the config file is changing the port and the full whitelist. I selected No to the pm2 question, the screensaver was not disabled, just a waring about not knowing how to disable on an labwc compositor.
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
cd ~/MagicMirror/config
nano config.js
npm run start
With the following results, MagicMirror doesn’t start. and doesn’t get any futher that the whitelist warning. Same result without the full whitlist though…
scott@MagicMirror:~/MagicMirror/config $ npm run start
> magicmirror@2.30.0 start
> npm run start:x11
> magicmirror@2.30.0 start:x11
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
[2025-03-25 09:38:22.852] [LOG] Starting MagicMirror: v2.30.0
[2025-03-25 09:38:22.861] [LOG] Loading config ...
[2025-03-25 09:38:22.862] [LOG] config template file not exists, no envsubst
[2025-03-25 09:38:23.052] [INFO] Checking config file /home/scott/MagicMirror/config/config.js ...
[2025-03-25 09:38:23.078] [INFO] Your configuration file doesn't contain syntax errors :)
[2025-03-25 09:38:23.078] [INFO] Checking modules structure configuration ...
[2025-03-25 09:38:23.117] [INFO] Your modules structure configuration doesn't contain errors :)
[2025-03-25 09:38:23.119] [LOG] Loading module helpers ...
[2025-03-25 09:38:23.119] [LOG] No helper found for module: alert.
[2025-03-25 09:38:23.122] [LOG] Initializing new module helper ...
[2025-03-25 09:38:23.122] [LOG] Module helper loaded: updatenotification
[2025-03-25 09:38:23.122] [LOG] No helper found for module: clock.
[2025-03-25 09:38:23.169] [LOG] Initializing new module helper ...
[2025-03-25 09:38:23.169] [LOG] Module helper loaded: calendar
[2025-03-25 09:38:23.170] [LOG] No helper found for module: compliments.
[2025-03-25 09:38:23.170] [LOG] No helper found for module: weather.
[2025-03-25 09:38:23.208] [LOG] Initializing new module helper ...
[2025-03-25 09:38:23.208] [LOG] Module helper loaded: newsfeed
[2025-03-25 09:38:23.208] [LOG] All module helpers loaded.
[2025-03-25 09:38:23.211] [LOG] Starting server on port 8089 ...
[2025-03-25 09:38:23.216] [WARN] You're using a full whitelist configuration to allow for all IPs
Would be useful is someone can replicate this and see if it is something peculiar to my enviroment.
Raspberry Pi5 with 64 Bit Debian Bookworm with desktop.
I am just about to try with the 32 bit image but the whole process takes a while.
Update: couldn’t get it to install on the 32 bit version. New install of 32 bit bookworm, ran the install script and it fails with:
installing correct version of node and npm, please wait
/usr/local/bin/n: line 753: /usr/local/bin/node: cannot execute: required file not found
bash: line 309: /usr/local/bin/node: cannot execute: required file not found
node failed to install, exiting