Read the statement by Michael Teeuw here.
3rd party modules not working on new MM install,
-
MM Noob here, new winstall of MM, works fine, will just with the default modules. I tried to install a 3rd-party module, MMM-CountEvents (https://github.com/MMRIZE/MMM-CountEvents) followed instructions. The default modules display but not this one. Rebooted, why not, at least I know MM will restart and re-read for sure. I even simplified my config (below) nope still not working. Logs are clean, ran npm run config:check no errors. Even tried other 3rd party modules with no success. Suggestions?
let config = { address: "0.0.0.0", port: 8080, basePath: "/", ipWhitelist: [], useHttps: false, httpsPrivateKey: "", httpsCertificate: "", language: "en", locale: "en-US", logLevel: ["INFO", "LOG", "WARN", "ERROR"], timeFormat: 12, units: "imperial", serverOnly: true, modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "MMM-CountEvents", position: "top_left", config: { events: [ { title: "Travel to Paris", targetTime: "21 Nov 2022", }, ] } }, { module: "helloworld", position: "bottom_bar", // This can be any of the regions. config: { // See 'Configuration options' for more information. text: "I like cheeeezzeee!", }, }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
-
I am an idiot. I already fixed it but you did in fact guess it correctly. I dropped the module in the wrong place.
-
@darknetone where did u install it?
what folder were you in ?
-
I am an idiot. I already fixed it but you did in fact guess it correctly. I dropped the module in the wrong place.
-
@darknetone thanks for feedback. I am trying to get an error reported if module not found at all
-
In code it would be easy enough to see if the module directory exists if not report file not found or missing module, at least people would know the module was in the wrong location or was misspelled, which is better that no error at all. Lol, it would have helped me, it was running me nuts.
-
@darknetone i agree
see issue from 2021
https://github.com/MichMich/MagicMirror/issues/2403 -
@sdetweil I was gonna up vote your reply, but I need a reputation better that “0” so this is my upvote.
Yeah good error reporting can really save time. I also thing MM needs it it’s own log files info, and err. But that is just me, I do very much appreciate all the work that has been put into the project and I don’t really have much right to criticize even if it is meant to be constructive.
-
@darknetone i upped your rep, now your posts won’t wait in the queue
-
@sdetweil
Much appreciated,… this is my first venture into MM and I am serving two separate instances from my proxmox server. I am really liking the flexibility or MM.