@sdetweil
That fixed it for now. I guess will talk again next update lol, Thank you for your dedication to resolving my issue!
Read the statement by Michael Teeuw here.
Posts
-
RE: MagicMirror is Failing to start at all
-
RE: MagicMirror is Failing to start at all
@sdetweil
Update for the Jan 1 2026,
This no longer fixes the issue. I used your update script and now i get this error;
sh: 1: ./node_modules/.bin.electron.js: not found -
RE: MagicMirror is Failing to start at all
@sdetweil
That worked i picked the right start because there is apparently 2 of them in the text code -
RE: MagicMirror is Failing to start at all
@KristjanESPERANTO said in MagicMirror is Failing to start at all:
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
This Command STARTED my Mirror!!!
Im super excited everything is the way I left it even no loading google images lol (I know i have to find and alternative now )
-
RE: MagicMirror is Failing to start at all
@sdetweil
is that the only way? I have a lot of setup, I would hate to lose by starting over.also again What script i have no idea what your referring to, or how to use it. I am a basic user of Magic Mirror
-
RE: MagicMirror is Failing to start at all
@sdetweil
pi@raspberrypi:~ $ sudo n 22.14
copying : node/22.14.0
installed : v22.14.0 (with npm 10.9.2)
pi@raspberrypi:~ $ hash -r
pi@raspberrypi:~ $ node -v
v22.14.0
pi@raspberrypi:~ $ cd MagicMirror
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.32.0 start
node --run start:x11node: bad option: --run
pi@raspberrypi:~/MagicMirror $ -
RE: MagicMirror is Failing to start at all
@sdetweil
pi@raspberrypi:~ $ node -v
v24.4.1
pi@raspberrypi:~ $ cd MagicMirror
pi@raspberrypi:~/MagicMirror $ node -v
v24.4.1 -
RE: MagicMirror is Failing to start at all
@sdetweil
So i used the force protocol and it took some time and did some things. after it was done i attempted to start the MM using both the old way and they way the release notes said and i still get this,pi@raspberrypi:~ $ cd MagicMirror
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.32.0 start
node --run start:x11node: bad option: --run
pi@raspberrypi:~/MagicMirror $ node --run
node: --run requires an argument
pi@raspberrypi:~/MagicMirror $ -
RE: MagicMirror is Failing to start at all
@sdetweil
pi@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” apply
update log will be in /home/pi/MagicMirror/installers/upgrade.log
doing test run = false
Node currently installed. Checking version number.
Minimum Node version: v22.14.0
Installed Node version: v24.4.1
Check current Node installation …
Node currently installed. Checking version number.
Minimum Node version: v22.14.0
Installed Node version: v24.4.1
No Node.js upgrade necessary.
Check current NPM installation …
NPM currently installed. Checking version number.
Minimum npm version: V10.9.2
Installed npm version: V11.4.2
No npm upgrade necessary.want /var/swap=200MByte, checking existing: keeping it
saving custom.css
local version 2.32.0 already same as master 2.32.0
restoring custom.css
pi@raspberrypi:~/MagicMirror $Still will not start
-
MagicMirror is Failing to start at all
This is my code line in terminal,
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.32.0 start
node --run start:x11node: bad option: --run
pi@raspberrypi:~/MagicMirror $I checked my node version its v20.19.3
and my Npm version is 11.5.1
No idea’s whats going on here i know it pulled this after i did an update on something i don’t remember what though as i did it one day before leaving for work and then came back to this without time to dive into itpi@raspberrypi:~/MagicMirror $ sudo npm run install-mm
magicmirror@2.32.0 install-mm
npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=devnpm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: magicmirror@2.32.0
npm error notsup Not compatible with your version of node/npm: magicmirror@2.32.0
npm error notsup Required: {“node”:“>=22.14.0”}
npm error notsup Actual: {“npm”:“10.9.2”,“node”:“v20.19.4”}
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-07-27T18_19_13_346Z-debug-0.log
pi@raspberrypi:~/MagicMirror $