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.

    How to Troubleshoot

    Scheduled Pinned Locked Moved Troubleshooting
    12 Posts 10 Posters 44.9k Views 9 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.
    • E Offline
      E3V3A @Lexingtonian
      last edited by

      @Lexingtonian Thank you for that tip with npm run config:check. Should be in the dev docs…

      "Everything I do (here) is for free – altruism is the way!"
      MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        https://forum.magicmirror.builders/topic/5399/how-to-check-your-config-for-errors-for-absolute-beginners

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 1
        • E Offline
          E3V3A
          last edited by E3V3A

          While trying to debug modules, I’ve been given quite mixed feedback regarding what to use to print messages to console, on either local system or in remote browser DevTools.

          So far, I have found the only reliable way that always seem to print something in the browser, is using console.error(). The others have varied. I’m on MM v2.2.2 (master).

          "Everything I do (here) is for free – altruism is the way!"
          MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            BiaGen @E3V3A
            last edited by

            I was pulling my hair out trying to figure out why my modules weren’t loading. The npm run config:check tip is a total lifesaver - found a missing comma in two seconds.

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @BiaGen
              last edited by sdetweil

              @BiaGen the latest 2 releases run config check as part of startup, and fail if there is an error like that

              I always recommend using manual start whenever changing config, for this very purpose

              Stop pm2 mgmt if managing the app
              Then
              cd ~/MagicMirror
              npm start

              If any problems they are right there
              Once good, ctrl-q MagicMirror
              And then use pm2 to launch

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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