Read the statement by Michael Teeuw here.
MMM-DarkSkyForecast - Yet ANOTHER weather module
-
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) -
@BD0G ok, fire it up…
-
This is the exact way I installed as per the instructions upon the GitHub.com page for MMM-DarkSkyForecast
Installation
Navigate into your MagicMirror modules folder and execute
git clone https://github.com/jclarke0000/MMM-DarkSkyForecast.git.
Enter the new MMM-DarkSkyForecast directory and execute npm install.It created a directory with a lowercase d within the name MMM-DarkSkyForecast under /MagicMirror/modules
-
@BD0G ok, never seen that happen
-
Wow! Now I see the weather! Now I will change the Celsius to Fahrenheit and wind speed to Miles Per Hour instead of Kilometers Per Hour