Read the statement by Michael Teeuw here.
MMM-Sunrise-Sunset
-
@siggmur latitude and longitude are numbers, remove the quotes.
general rule, for values to the right of :
number or true/false - not quoted
all else, quoted, doesn’t matter which one, just matching.
also, lat/long usually are 6 digits
xx.yyyy -
Thanks for the quick reply, I forgot the quotation marks, but it should throw a config error, not a black screen like I am getting?
-
@siggmur black screen usually means missing library file.
look at the startup.messageseither
pm2 logs --lines=100
or the terminal window where do
npm start -
@sdetweil ah, now we might be cooking. I find to suspected issues, but I am a bit to noobish to understand:
[2020-08-01 01:35:48.402] [LOG] No helper found for module: MMM-Sunrise-Sunset.
and:
Fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown element “blank”
[2020-08-01 01:35:50.724] [ERROR] Whoops! There was an uncaught exception…
[2020-08-01 01:35:50.727] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
at Server.setupListenHandle [as _listen2] (net.js:1226:14)
at listenInCluster (net.js:1274:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1413:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:65:10) {
code: ‘EADDRINUSE’,
errno: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘127.0.0.1’,
port: 8080
}Any idea what it could be?
-
@siggmur eaddr in use means something is still using that port 8080,
pm2’s job is to start at boot, so you can have more than one running
keep stopping
check w
ps -ef | grep node |grep -v grepkill things til u get none.
then
cd ~/MagicMirror npm start