Need help installing modules
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:
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.
Mykle1 Project Sponsor Module Developer last edited by
This will help you to install modules correctly and make config entries correctly.
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
@mykle1 Thank you. This was very helpful and I think I’m heading in the right direction.