Read the statement by Michael Teeuw here.
Update, unable to connect.
-
@Richard238 said in Update, unable to connect.:
0|MagicMirror | [2025-08-16 19:11:32.117] [ERROR] Your configuration file contains syntax errors :(
0|MagicMirror | Line 99 column 21: ‘Log’ is not defined.This seems to indicate that there is an error in
config/config.js
. Run the following on the command line in the~/MagicMirror/
directory:npm run config:check
-
@mumblebaj said in Update, unable to connect.:
npm run config:check
pi@mmv2:~/MagicMirror $ npm run config:check > magicmirror@2.32.0 config:check > node js/check_config.js [2025-08-17 12:14:16.030] [INFO] Checking config file /home/pi/MagicMirror/config/config.js ... [2025-08-17 12:14:16.285] [ERROR] Your configuration file contains syntax errors :( Line 99 column 21: 'Log' is not defined.
Lines 97/98/99:
// Override start method. start: function () { Log.log("Starting module: " + this.name);
-
@Richard238 did the
npm install
complete?
do this
pm2 stop all cd ~/MagicMirror rm -rf node_modules npm install
the start MagicMirror manually
npm start
-
pi@mmv2:/ $ pm2 stop all [PM2] Applying action stopProcessId on app [all](ids: [ 0 ]) [PM2] [MagicMirror](0) â ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ â id â name â mode â ⺠â status â cpu â memory â ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼ââââââââââ⤠â 0 â MagicMirror â fork â 300 â stopped â 0% â 0b â ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ pi@mmv2:/ $ cd ~/MagicMirror pi@mmv2:~/MagicMirror $ rm -rf node_modules pi@mmv2:~/MagicMirror $ npm install npm error code EIO npm error syscall read npm error errno -5 npm error EIO: i/o error, read npm error A complete log of this run can be found in: /home/pi/.npm/_logs/2025-08-17T11_35_16_106Z-debug-0.log pi@mmv2:~/MagicMirror $ npm start > magicmirror@2.32.0 start > node --run start:x11 /bin/sh: 1: ./node_modules/.bin/electron: not found
-
@Richard238 of course you dont need to do npm start if the other stuff fsiled
cd ~/MagicMirror rm package-lock.json rm -rf node_modules npm cache clean --force npm install
let me know the results
-
Pi (Pi4 in metal heat-sink case) was running really warm. Powered it off and left it for a while.
Powered on, it has no networking and file manager does nothing.
If I can get networking enabled, I’ll make a config and CSS backup.Looks like it’s going to need an OS reinstall which will have to wait until I have time to do so.
I’ll report back when that’s done. -
@Richard238 my backup also gets the module source url for every add on module, so that they can be reinstalled again
and gets files created (like access tokens etc) which may be needed to make each module work -
I couldn’t use that as I the Pi had no network, no file manager. It was bricked :(
New OS, new default vanilla MM all good.
And then I remembered the orig MM was still on a SD Card before I swapped over to a USB drive.
Copied all I needed, seems to be all good so far!Thanks for your help. :)
-
@Richard238 awesome… thanks for the feedback…