Read the statement by Michael Teeuw here.
MMM-DarkSkyForecast - Yet ANOTHER weather module
-
@BD0G yeh, don’t know what happens in portrait mode
-
[16:51:14.569] [LOG] Starting MagicMirror: v2.10.0-develop
[16:51:14.714] [LOG] Loading config …
[16:51:14.985] [LOG] Loading module helpers …
0 [LOG] Initializing new module helper …
0 [LOG] Module helper loaded: MMM-Remote-Control
0 [LOG] No helper found for module: MMM-DarkSkyForecast.
0 [LOG] No helper found for module: alert.
[16:51:16.448] [LOG] Initializing new module helper …
[16:51:16.469] [LOG] Module helper loaded: updatenotification
[16:51:16.486] [LOG] No helper found for module: clock.
[16:51:21.582] [LOG] Initializing new module helper …
[16:51:21.589] [LOG] Module helper loaded: calendar
0 [LOG] All module helpers loaded.
[16:51:21.619] [LOG] Starting server on port 8080 …
[16:51:21.765] [INFO] You’re using a full whitelist configuration to allow for all IPs
0 [LOG] Server started …
0 [LOG] Connecting socket for: MMM-Remote-Control
0 [LOG] Starting node helper for: MMM-Remote-Control
0 [LOG] Connecting socket for: updatenotification
0 [LOG] Connecting socket for: calendar
0 [LOG] Starting node helper for: calendar
0 [LOG] Sockets connected & modules started …
0 [LOG]
Ready to go! Please point your browser to: http://0.0.0.0:8080
Starting chromium browser now, have patience, it takes a minute
[16:51:23.548] [ERROR] { Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
at Server.setupListenHandle [as _listen2] (net.js:1280:14)
at listenInCluster (net.js:1328:12)
at doListen (net.js:1461:7)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
code: ‘EADDRINUSE’,
errno: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘0.0.0.0’,
port: 8080 }
[16:51:29.611] [ERROR] ERROR! Could not find main module js file for MMM-darkSkyForecast -
@BD0G said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
[16:51:23.548] [ERROR] { Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
ah, you have the old one running still
pm2 start 0
check to make sure its shut down
ps -ef | grep node
-
How about I do a full shut down /power off?
-
@BD0G no… it will autostart on reboot (at least it should)
-
@BD0G but this could be a clue
Could not find main module js file for MMM-darkSkyForecast
the system is case sensitive…
so, the module name in config.js is 'MMM-DarkSkyForecast"
(notice u have a lowercase d)the folder in modules, should be the same MMM-DarkSkyForecast ( created from the git clone)
-
Just checked and the module name in the module directory is
MMM-darkSkyForecast and that was created by git cloning as stated in the instructions from the GitHub Repository.So the name of the directory DOES have a lowercase d in it.
-
@BD0G can’t be
git clone https://github.com/jclarke0000/MMM-DarkSkyForecast.git
will produce folder MMM-DarkSkyForecast -
@BD0G what are the filenames INSIDE the folder?
-
When I issue the ps -ef | grep node
it returns pi 988 811 3 17:20 pts/0 00:00:00 grep --color=auto node