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-Pages module all showing on one page

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 3 Posters 308 Views 3 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.
    • H Offline
      hahawoooooo @sdetweil
      last edited by

      @sdetweil Good catch on that one - there are two MMM-Pages listed in the third party module website, and I was using your fork which is at 1.0.0. I uninstalled that version and installed the 1.3.0 version, but still having the same issue with all modules on one page.

      I need to get a bit more sleep and look again just to make sure I did everything correctly after the changes.

      One thing I noticed is I’m getting socket.io connection errors in the logs. where it repeatedly tries connecting and then fails. I can grab the log texts when I get back home tonight if that’s anywhere related to the problem.

      S H 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @hahawoooooo
        last edited by

        @hahawoooooo I think this is a totally different problem…

        are you using node 22.18.0 on the system?
        node inside this electron version is 22.18

        are you using a browser or is this the electron page started by npm start?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • H Offline
          hahawoooooo @hahawoooooo
          last edited by

          Node version is 22.18.0, and I’m using pm2 to start it. I changed the mm.sh file to open it via firefox.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @hahawoooooo
            last edited by sdetweil

            @hahawoooooo so you are doing npm run server and then launching firefox…
            or is this my runstart.sh and u set the env variable for firefox as the browser over server

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              hahawoooooo @sdetweil
              last edited by

              @sdetweil To be honest, I need to get a bit smarter about the difference between the different start options (npm, pm2, mmpm, running over server). I’m currently just running pm2 start locally and not running a server.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @hahawoooooo
                last edited by

                @hahawoooooo

                MM is a server with a browser auto started (npm start, electron is the browser), and with any browser connecting too
                or
                MM can be a server (npm run server) with any browser connecting from anywhere

                MM is just an app…

                you can configure the system to start an app on boot multiple ways

                you can edit the system startup settings,
                different on window, mac, linx (and diff linux versions)

                OR you can run ANOTHER app, that does all that work for you
                pm2 (node process manager v2)
                it can start many different apps (mm , mmpm, and any other tool you like,

                I have a spotify plugin on another mirror app, it can use the spotify api to play, pause, blah blah
                if I install and start the spotify player daemon… (librespot or raspotify on pi)
                I use pm2 to launch that too , and I can play on this machine.

                the cool thing about pm2 is YOU don’t need to know HOW the system autostart works,
                pm2 handles all that for you…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                • 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