MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-JAST stopped updating a couple of days ago.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    26 Posts 7 Posters 593 Views 7 Watching
    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.
    • V Offline
      vgardenn @KristjanESPERANTO
      last edited by

      @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/Chicago 
      
      

      This 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 
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @vgardenn
        last edited by sdetweil

        @vgardenn show the last 5 lines of config.js
        Compare to the sample in the same folder

        What is this?

        userConfig.modules

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • V Offline
          vgardenn
          last edited by

          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>"
              	 }
              },
            ]
          };
          
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @vgardenn
            last edited by sdetweil

            @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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            V 1 Reply Last reply Reply Quote 0
            • V Offline
              vgardenn @sdetweil
              last edited by

              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 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @vgardenn
                last edited by sdetweil

                @vgardenn cool. We’ll fix that

                The MagicMirror install doc says

                IMG_4726.png

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 3
                • 3 / 3
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy