Read the statement by Michael Teeuw here.
MMM-OneCallWeather
-
@n6ng those are incorrect error messages… not the problem
-
@sdetweil
I found your message to vintage89 about the display in package.json
"
S
sdetweil
Apr 10, 2020, 3:20 PM@vintage89 edit the package.json file and remove the display=${display… stuff from the start clause
It should start with "node_modules, like this
“start”: “node_modules/.bin/electron js/electron.js”,Sam"
Did that myself and it seems to have fixed the problem… now back to the weather problem again… More to follow…
Thanks again Sam… you have some real words of wisdom throughout these many pages…
Dennis -
@n6ng np. but you never said Windows…
-
@n6ng It wasn’t Windows… but it worked anyway.
Dennis -
@n6ng what is it? DISPLAY is an xwindows thing
-
@sdetweil It is just a standard Raspberry Pi 3b with Debian with Buster and anASUS HDMI monitor…
But it was on for a couple of seconds and then off for 5 or 10 seconds back and forth… now it is back to normal…
Dennis -
@n6ng so display might be set in the environment already.
the code says set display to :0 if not set
that’s the normal default xwindows instance
-
@sdetweil So are you saying that’s what I should set the display line to instead of what to said to set it to in this forum link?
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-laterIf that’s true, I’ll try it…
Dennis -
@n6ng we are crossing topics
found your message to vintage89 about the display in package.json
"
S
sdetweil
Apr 10, 2020, 3:20 PM@vintage89 edit the package.json file and remove the display=${display… stuff from the start clause
It should start with "node_modules, like this
“start”: “node_modules/.bin/electron js/electron.js”,that is
won’t start on Windows, because DISPLAY=… on start function in package.jsonhttps://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later
that is
blank screen because of missing dependencies on some/many modules -
Ok… going to build another and try again…
Thanks Sam
Dennis