Read the statement by Michael Teeuw here.
pm2 no longer launching MM
-
@JMac ok, try this
rm -rf node_modules/electron rm package-lock.json npm install electron@22.3.4 npm start
-
@sdetweil after running the npm install now getting a different ENOTEMPTY for nodes_modules/basic-auth.
Same issue of directory not empty -
@JMac weird, this makes no sense
-
@sdetweil I’m away with work until Friday but obviously want to try and get to the bottom of this.
I’ll likely end up moving the mirror to somewhere way closer to the WiFi router.
Will this stay open until the end of the week?Out of curiosity when launching via pm2 should it (in the little box that pops up in terminal) mention fork?
-
@JMac this will stay open til u close it…
yes, that is the linux term for starting an independent process
-
@JMac I would rename the existing mm folder
and then run install again, use my script
https://github.com/sdetweil/MagicMirror_scriptsto help move the modules and config, I’d use my backup/restore scripts
https://github.com/sdetweil/MagicMirror-backup-restorebackup before rename, restore after reinstall
-
may sound like a daft question but how do I rename the magicmirror folder? I’ve run your back up (hopefully).
-
@JMac in Linux the rename command is mv
cd ~ mv MagicMirror newname
-
sorry to sound extremely daft, but what should I be renaming it? Is there a preferred name or one which makes most sense?
-
@JMac any name that works for you, you are just making room for the installer which is hard coded to use MagicMirror, and will abort if that folder is already created