Read the statement by Michael Teeuw here.
MMM-JAST stopped updating a couple of days ago.
-
@KristjanESPERANTO Here is my system info from the npm run start output:
#### System Information #### - SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 5 Model B Rev 1.0; virtual: false; MM: 2.34.0 - OS: platform: linux; distro: Debian GNU/Linux; release: 13; arch: arm64; kernel: 6.12.62+rpt-rpi-2712 - VERSIONS: electron: 39.2.7; used node: 22.21.1; installed node: 22.21.1; npm: 10.9.4; pm2: 6.0.14 - ENV: XDG_SESSION_TYPE: tty; MM_CONFIG_FILE: undefined WAYLAND_DISPLAY: undefined; DISPLAY: :0; ELECTRON_ENABLE_GPU: undefined - RAM: total: 8062.92 MB; free: 7342.48 MB; used: 720.44 MB - OTHERS: uptime: 12 minutes; timeZone: America/ChicagoThis also highlighted an error I may have been missing in the pm2 logs output, so it may not be a module issue at all. I apologize if I had you looking at this and it was just an issue with my MM setup. I’ll start researching what this error means:
[2026-01-19 18:14:54.626] [ERROR] [app] WARNING! Config file appears empty, maybe missing module.exports last line? [2026-01-19 18:14:54.627] [ERROR] [app] WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: userConfig.modules is not iterable -
@vgardenn show the last 5 lines of config.js
Compare to the sample in the same folderWhat is this?
userConfig.modules
-
I’m unsure what that userConfig.modules is, from my googling it seems maybe related to node.js?
Here is the entire config.js. The last 5 lines look similar to the sample config:
let config = { modules: [ { module: "MMM-MagicMover", }, { module: "clock", position: "top_bar", config: { timeFormat: 12, displaySeconds: false, dateFormat: "dddd, MMMM D", } }, { module: "weather", position: "top_center", config: { weatherProvider: "weathergov", type: "current", tempUnits: "imperial", roundTemp: true, showFeelsLike: false, colored: true, showSun: false, lat: "xxxxxx", lon: "xxxxxxx", } }, { module: "MMM-Jast", position: "middle_center", config: { displayMode: "none", stocks: [ { name: 'DJIA', symbol: 'DIA' }, { name: 'SP500', symbol: 'VOO' } ] } }, { disabled: true, module: "MMM-NowPlayingOnSpotify", position: "bottom_center", config: { showCoverArt: false, clientID: "<YOUR_CLIENT_ID>", clientSecret: "<YOUR_CLIENT_SECRET>", accessToken: "<YOUR_ACCESS_TOKEN>", refreshToken: "<YOUR_REFRESH_TOKEN>" } }, ] }; -
@vgardenn these lines are not at the bottom of your config file
/*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") { module.exports = config; }Typically to start your MagicMirror journey
You copy the sample and edit the copy for your use -
Well you called it correct, I did not start with the sample config and adding that missing line at the end of my config got this mod working as expected. I had grabbed the example config from documentation here assuming it was good enough and was off to the races.
Thank you very much for your help on this @sdetweil and @kristjanesperanto
-
-
S sdetweil has marked this topic as solved
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
