Read the statement by Michael Teeuw here.
MMM-DarkSkyForecast - Yet ANOTHER weather module
-
That killed the browser window I had open and then returned to the command prompt
-
@BD0G ok, and the ls results
I work from my windows machine and ssh into the pi.
use bitvise ssh client… opens a terminal window and a file browser window at the same time…
double click on files to editcommands in the ssh window… almost never go to the actual mirror screen, except for the dev window
-
ls results? You lost me there. ssh has been painfully slow when using Putty.
-
@BD0G back a few messages
ls ~/MagicMirror/modules/MMM-darkSkyForecast
-
Here it is
pi@raspberrypi:~/MagicMirror/modules $ ls ~/MagicMirror/modules/MMM-darkSkyForecast
icons node_helper.js README.md
MMM-DarkSkyForecast.css node_modules skycons.js
MMM-DarkSkyForecast.js package.json
mmm-darksky-forecast.njk package-lock.json -
@BD0G said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
MMM-DarkSkyForecast.js
file name is uppercase D
all has to match
change the name of the folder and the entry in config.js
-
@BD0G to git clone, find the project on github, push the green clone or download button, then push the clipbpard icon. it will copy the repo url to the clipboard for you
past that behind git clone
-
I renamed the Directory under modules to reflect a capital D in the name DarkSkyForecast. Since there is already a capital D within the name of the module within the config.js file then no change is needed to the config.js. Correct?
-
@BD0G said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
Since there is already a capital D within the config.js file
the error says otherwise
Could not find main module js file for MMM-darkSkyForecast
this means Mirror went to the folder, and tried to find MMM-darkSkyForecast.js,
but it wasn’t present… ONLY way to get that is from the config.js -
OK. I checked and the name of the directory is
MMM-DarkSkyForecast (with a capital D)
The name of the file below that directory is
MMM-DarkSkyForecast.js (with capital D)and the entry in the config.js is
module: “MMM-DarkSkyForecast”, (with capital D)