MMM-CountDown
MMM-CountDown copied to clipboard
Won't show up
the module wont show up for me, idk if im supposed to install it there but i need to with all the other modules and it wont show up but this error came what should i do
Console: pi@raspberrypi:~/MagicMirror/modules/MMM-CountDown $ npm install npm WARN [email protected] requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of stylelint@^8.3.0 || ^9.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of stylelint@^8.3.0 || ^9.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] No repository field.
audited 439 packages in 24.826s found 0 vulnerabilities
Config: { module: 'MMM-CountDown', config: { position: "top_left", event: "Jahrestag", date: "2019-07-24" } },
I don't have any coding experience; just reading on this site and putting together my own MM. I had the same problem of module not showing up. All I did was move the "position" code out of the config brackets and nested at the same level as the "module" line (right under it) and that fixed it for me.
See the readme, your config file should be formatted as follows:
var config = {
modules: [
{
module: 'MMM-CountDown',
config: {
position: "top_left",
event: "Jahrestag",
date: "2019-07-24"
}
}
]
}
You seem to be missing the "modules" section
It's actually
{ module: 'MMM-CountDown', position: "top_left", config: { event: "Mark's Birthday", date: "2019-10-18" } }
I cannot get this to work either. Here's my snippet from the config file. I have added a number of other modules that work fine.
{
module: 'MMM-CountDown',
config: {
position: "top_left",
event: "Thanksgiving",
date: "2021-11-25"
}
},
This module doesn't work - using the latest version of MM (new installation)
Solved it: It's pointing to a wrong directory.
Change directory MMM_CountDown-master into MMM_CountDown.