MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Need help installing modules

    Troubleshooting
    modules
    2
    3
    314
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      CheapDad last edited by

      Folks:

      I’ll try to keep this organized. If the mods believe this belongs elsewhere or would like to break this up into several posts so that it can be placed in different threads, please let me know.

      For context, I’m building a MM for my college-aged daughter. I know nothing about linux or coding, but am not afraid of terminal as it reminds me of the old DOS days.

      I set up my pi and installed MM. My file framework looks like this:
      /Home/pi/MagicMirror/ …

      First, I decided to start by installing MMPM. I copied the quick install text on Github and that resulted in an error. Install got up to “collecting MMPM” and then I got an error : “could not find a version that satisfies the requirement MMPM. No matching distribution found.”

      The weird thing is the I have an mmpm folder in the modules folder. If I navigate to that folder and run “npm install”, it appears to install in that a bunch of stuff happens in terminal. However, when I run mmpm --guided-setup, I get “error-command not found.”

      I’m dead in the water as I have no idea what I did wrong or how to fix it.

      I then tried to install modules individually using the install commands on the GitHub page. Those don’t work either. However, if I run “Git clone”, it will populate a folder in my modules folder. However, when I try to run “npm install” in that folder, I get same appearance of installation, but when I try to run any commands, I get command not found.

      Second, I’ve tried my hand at editing the config.js file and can’t figure that out either. For example, in calendar, I’d like it to show only 5 holidays. When I put "maximum entries:5 into the config.js under calendar, it breaks it. The example in the documentation page isn’t helpful because it’s a minimal installation. I need to see a full installation so that I can better understand where I’m getting syntax wrong.

      TIA,
      CheapDad

      Mykle1 1 Reply Last reply Reply Quote 0
      • Mykle1
        Mykle1 Project Sponsor Module Developer @CheapDad last edited by

        @cheapdad

        This will help you to install modules correctly and make config entries correctly.

        https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners?_=1618794808624

        I have no experience with the MMPM module you speak of. In fact, I’ve never heard of it.

        The default weather module(s) I don’t use but I’m sure someone will help you out, Maybe post your config entry for it so others can see it

        Create a working config
        How to add modules

        C 1 Reply Last reply Reply Quote 1
        • C
          CheapDad @Mykle1 last edited by

          @mykle1 Thank you. This was very helpful and I think I’m heading in the right direction.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy