Read the statement by Michael Teeuw here.
MM does not start anymore
-
@Vauxdvihl said in MM does not start anymore:
git pull && npm install
yeh, such a mess
also, erase the node_modules folder and package-lock.json files
cd ~/MagicMirror rm -rf node_modules AND for every module that has a package.json file, you must ALSO do npm install in THEIR folder. in the future, please use my upgrade script see here https://github.com/sdetweil/MagicMirror_scripts read the readme for the command to issue
-
You also have two instances of Magic Mirror installed into PM2. Are you running both of these at the same time?
-
@bhepler
no
i am not aware of this
I only run on mm
Regards -
@Vauxdvihl they are both called mm, 0 and 1…
the messages from the log say you are using 1
[mm:1] onlinetry pm2 stop 0
pm2 delete 1 -
@sdetweil
Does not workDoing the other thing…i get an error message
Operation not permitted…also with “sudo” in frontpi@PiMirrorNeu:~/MagicMirror $ rm -rf node_modules/ rm: das Entfernen von 'node_modules/rxjs/internal/operators/filter.d.ts' ist nicht möglich: Die Operation ist nicht erlaubt
-
@Vauxdvihl sadly this means you are experiencing a problem with your SD card… I have lost 10 over the last couple years.
-
@sdetweil
I have erased the sd card and i have written a buster image on it
So far everthing works fine
Start know to install the mm again -
@Vauxdvihl use my script
see here https://github.com/sdetweil/MagicMirror_scripts
for the command to execute