Open GoodWillGustin opened 4 years ago
It doesn't need npm to install. Also, try removing the API key comment and see if that works. The double slash in the URL might be breaking the config file.
Removed the API comment, still get the same issue.
I'm not getting any message about a config file issue; everything appears to load correctly in terminal, but the MM display is completely blank upon opening.
I've got the same problem. Is there a solution?
Hi everyone. I'm also experimenting the same issue. After installing the module and adding the config, Magic Mirror remains black. I tested the API using Curl and all is good on this front. Config is the following:
{
module: "MMM-Sunrise-Sunset",
position: "bottom_right",
config: {
latitude: "45.5",
longitude: "-73.2",
apiKey: "XXXXXXXXXXXXXXXXXXX",
layout: "inline"
}
},
In the log when Magic Mirror is starting I can see:
No helper found for module: MMM-Sunrise-Sunset
I'm available for debugging if it can help.
Hi everyone. I'm also experimenting the same issue. After installing the module and adding the config, Magic Mirror remains black. I tested the API using Curl and all is good on this front. Config is the following:
{ module: "MMM-Sunrise-Sunset", position: "bottom_right", config: { latitude: "45.5", longitude: "-73.2", apiKey: "XXXXXXXXXXXXXXXXXXX", layout: "inline" } },
In the log when Magic Mirror is starting I can see:
No helper found for module: MMM-Sunrise-Sunset
I'm available for debugging if it can help.
I'm happy for anyone to take over the module - I no longer use a magic mirror, so this has fallen into disrepair and is no longer maintained.
Hi everyone,
I finally found the issue : It appears JQuery is not available for MMM-Sunrise-Sunset to start. To fix the problem you have to install JQuery and copy jquery.js in this modules directory. Find below the command lines:
cd MMM-Sunrise-Sunset/
npm install jquery
cp ./node_modules/jquery/dist/jquery.js .
With this change, this module is now working for me. Hope this helps.
I installed the module and updated my config with the free API key. Now when I run MM, the screen is just blank black. If I comment out/remove the module from the config script, MM runs normally. I tried to reinstall the module and get the following:
pi@SmartMirror:~/MagicMirror/modules/MMM-Sunrise-Sunset $ npm install npm WARN deprecated undefined@0.1.0: this package has been deprecated npm WARN saveError ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json' npm WARN modules No description npm WARN modules No repository field. npm WARN modules No README data npm WARN modules No license field.
removed 1 package and audited 390 packages in 3.145s found 0 vulnerabilities
is there something I am doing wrong?
Here is my config entry btw:
{ module: 'MMM-Sunrise-Sunset', position: "top_right", config: { latitude: "mylatitude", longitude: "mylongitude", apiKey: "myapiKey", //Signup https://ipgeolocation.io/signup.html for free API layout: "inline", //"inline" or "list" } },