Read the statement by Michael Teeuw here.
Just updated Mirror, now mirror will not work.
-
Any help? Why would I be missing files?
pi@raspberrypi:~ $ cd ~/MagicMirror
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.16.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.jssh: 1: ./node_modules/.bin/electron: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! magicmirror@2.16.0 start:DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.16.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2021-07-05T23_42_22_591Z-debug.log -
@nneuland what pi? did u do npm install?
-
raspberry pi 4.
I did an install from the magicmirror remote. The last update worked fine, no problems.
git pull && npm install in the terminal should take care of that, right?
-
@nneuland well, there are others reporting similar problems…
not sure what the problem is yet
-
Ohhhh no. Ok. At least I’m not going mad alone. Thank you for letting me know
-
@nneuland but fresh install doesn’t seem to have the problem…
use my script, it never fails…
rename the existing MagicMirror folder
then run the install script.see https://github.com/sdetweil/MagicMirror_scripts
then u can copy your modules over and config.js from the renamed folder
-
Saved again by Sam/. Thank you so very much
-
@sdetweil I think I celebrated too early.
Very odd thing happening. I’ve lost all of my modules. Back to default. What in the world did I do now?
-
@nneuland did u copy your stuff over? from the old to the new? including config.js?
rename the new modules/default folder out of the way for the copy
then from the new modules folder
cp -r -p ~/Magicmirror-old/modules .then rm -rf default
and rename the saved default folder back -
yeah. Just getting a black screen and a cursor.