Read the statement by Michael Teeuw here.
Magic mirror is not showing up
-
@CoopDog1712 yes, sometimes, the install messes up
pm2 stop all cd ~/MagicMirror npm install electron@17.2.0
to test
cd ~/MagicMirror npm start
if all looks good
ctrl-c to stop
thenpm2 start MagicMirror
I should have asked, what pi is this on ? not pi 0 w, right?
-
@sdetweil no its a pi 4
-
@sdetweil so it works now, and after i enter pm2 start MagicMirror, it loads the software for the magic mirror, the only issue is that their is nothing only a blank screen, no time, weather, nothing. all that comes up is a blank screen. any suggestions?
-
@CoopDog1712 have u added modules?
if so see
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-laterand
pm2 logs --lines=50
will show you what is happening -
@sdetweil i did what you said and this is what came up.
pi@raspberrypi:~/MagicMirror/modules/default/clock $ npm init -y
Wrote to /home/pi/MagicMirror/modules/default/clock/package.json:{
“name”: “clock”,
“version”: “1.0.0”,
“description”: “Theclock
module is one of the default modules of the MagicMirror². This module displays the current date and time. The information will be updated realtime.”,
“main”: “clock.js”,
“scripts”: {
“test”: “echo “Error: no test specified” && exit 1”
},
“keywords”: [],
“author”: “”,
“license”: “ISC”
}pi@raspberrypi:~/MagicMirror/modules/default/clock $ npm install ???
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name “???”: Tags may not have any characters that encodeURIComponent encodes.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-04-24T14_06_36_382Z-debug-0.log
pi@raspberrypi:~/MagicMirror/modules/default/clock $ pm2 start MagicMirror
[PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 4 ])
[PM2] MagicMirror ✓
[PM2] Process successfully started -
@CoopDog1712 no… not in clock module… we ship that
what was the black screen failure message from the console output?
you read the messages and get the name of the missing library, and replace the ??? with that name
the reason YOU have to read the messages is because there are multiple libraries missing…
you only need to fix the ones that impact the modules you installed -
@sdetweil i dont think i saw one. i never installed any modulles, even the ones that should come with it are not showing up
-
@CoopDog1712 ok, still show the messages where u start mm
either via
npm start
or
pm2if pm2., then
pm2 logs --lines=50will show the console output
what pi is this?
-
@sdetweil pi 4
-