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.

    MagicMirror cannot start (UnhandledPromiseRejectionWarning)

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 3 Posters 1.2k 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.
    • S Offline
      sdetweil @Klinge
      last edited by

      @Klinge please do

      cd ~/MagicMirror
      npm install
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      K 1 Reply Last reply Reply Quote -1
      • K Offline
        Klinge @sdetweil
        last edited by

        @sdetweil Hi Sam, now it works. Thank you for your advice :-)

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

          @Klinge thanks… did you do the two part command originally

          git pull && npm run install-mm
          

          trying to see if the expression failed

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • SteffS Offline
            Steff
            last edited by

            Encountering the same problem, however npm install throws an error message:

            npm ERR! code EBADENGINE
            npm ERR! engine Unsupported engine
            npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.26.0
            npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.26.0
            npm ERR! notsup Required: {"node":">=18"}
            npm ERR! notsup Actual:   {"npm":"8.19.4","node":"v16.20.2"}
            

            The “normal” update of my raspi via sudo apt- update & upgrade did not bring any changes, I had to update the node version manually:

            Update node version
            Please do not forget to log-off / log-on after nvm installation

            This helped now the npm install did run through and my magic mirror start again.

            Hope this is helpful for others who are encountering the same problem…

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

              @Steff use my install/upgrade scripts. they do all this work

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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