Read the statement by Michael Teeuw here.
MagicMirror won't run after restart
-
@SymmetriC ok, try this
ctrl-c to stop that cd ~/MagicMirror rm -rf node_modules rm package-lock.json npm install --omit=dev --no-audit --no-fund npm start
-
@sdetweil Thanks for your quick reply!
Ran what you said and got this:
Not sure what it means (researching now), but at least I have an error finally! haha
-
@SymmetriC typo, should be --no-audit
-
@sdetweil thanks for catching the typo.
Ran it again correctly this time; here’s what I have:
Still hung up trying to launch MM. I’m lost -
@SymmetriC well then…
instead of npm start, try server only
npm run server
which takes electron out of the mix -
@SymmetriC did u try server only?
I really have no idea what could be wrong.
code reinstall leads to the same problem
unless the DISPLAY env variable is wrong
in the terminal window do
echo $DISPLAY
but the other messages should come out before electron is started
-
@sdetweil Appreciate the follow-up. Sorry for my radio silence; replied to the post shortly after your response on Sunday, but guess I wasn’t logged in so it got rejected. Here’s an update:
Started MM innpm run server
mode, but MMM-EveryNews still wouldn’t load. Great idea though on starting in server to bypass ‘electron’ :thumbs_up: Still dumbfounded why ‘electron’ was having such a hard time.Decided I was done messing with the OrangePi and loaded up a spare RaspberryPi 3 I had laying around. The Pi I was running the MM on was an OrangePi zero2, which is a pretty nice piece of hardware if you are having a hard time finding a good priced RaspberryPi, but I think there may be some driver or OS issues, since it tries to replicate the RaspberryPi OS. :man_shrugging:
Loaded up the RaspberryPi with Raspbian, then reloaded all the same MM modules and hit run. Ran like a champ after configuring everything, including https://github.com/mykle1/MMM-EveryNews/issues/5 from @sdetweil.
Moral of the story - think either a driver got messed up, an OS file got messed up, or I was messed up. Starting from scratch did the trick though, and it’s up and running.
Thanks @sdetweil! I appreciate your help and timely responses!
-
@SymmetriC awesome. thanks for the feedback.