MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

MMM-Chuck-Norris module won't apear



  • Hi!

    First of all I want to make sure for everyone that I’m totally new to Raspberry Pi and MagicMirrors. Noob misstakes can have been made, so please explain everything extra clear and don’t take anything for granted… ANYWAY! 🙂

    Some days ago I installed my first MagicMirror and everything is working fine with the default modules and I have made som minor adjustment. So now I tried to install the MMM-Chuck-Norris module, but it won’t appear when i start my mirror.

    This is a cut from my config file:

    language: 'sv',
    timeFormat: 24,
    units: 'metric',
    
    modules: [
     {
      module: 'alert',
     },
    
    
     {
                  module: 'MMM-Chuck-Norris',   
                  config: {
                   title: 'Chuck Norris facts'   // See below for configurable options
                }   
            },
    
    
    
    
     {
      module: "updatenotification",
      position: "top_bar"
     },
    

    I have followed each steps from the installation desciption and as far as i know i don’t get any error codes when starting the mirror either. Why won’t my Chuck Norris quotes show up?
    https://github.com/toddsantoro/MMM-Chuck-Norris

    The only thing i’ve noticed is that i’m running the latest MagicMirror² v2.5.0. In the description of this module is says: requiresVersionOfMagicMirror: “2.1.0”. Isn’t the newer MagicMirror version back compatible?

    // Marcus


  • Moderator

    I know the read me does not mention it, but shouldn’t you provide a position in config? Something like:

    {
                module: 'MMM-Chuck-Norris',
    	position: "lower_third",
                config: {
                    // See below for configurable options
                }
            }
    


  • After adding

    position: "lower_third",
    

    it worked instantly, thank you very much! Still i got some other issues though…

    Maybe I should start a new thread but I’ll try to post it here first 🙂

    It seems that i can’t do any changes on any file in the "MagicMirror/modules/default/ catalog.
    For example when I’m trying to change the phrases in the compliments.js file i can’t save the file since I don’t have the permissions to overwrite it? Do I need to launch any kind of “sudo nano command” to make me a root user for that specifc catalog? There is no problems for me to do any changes in the “MagicMirror/config/config.js” file?

    Here’s a pic of the config files and catalogs that will make things much more easy to understand i guess 🙂
    https://imgur.com/a/UfM69sC


  • Module Developer

    @mrheadbanger Not that it answers your question, but the compliments module can be configured in config.js to have your own custom compliments. See here:
    https://github.com/MichMich/MagicMirror/tree/master/modules/default/compliments#default-value

    That way you don’t have to edit the compliments.js file. It is also generally a bad idea to edit the modules’ files as it becomes harder to update to new versions of magicmirror.
    The config.js and custom css file are kept when updating to a new version.