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 is Failing to start at all

    Scheduled Pinned Locked Moved Solved Troubleshooting
    21 Posts 4 Posters 4.2k Views 4 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
      Sampleswow @KristjanESPERANTO
      last edited by

      @KristjanESPERANTO said in MagicMirror is Failing to start at all:

      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      This Command STARTED my Mirror!!!

      Im super excited everything is the way I left it even no loading google images lol (I know i have to find and alternative now )

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

        @Sampleswow awesome

        edit the package.json
        and change the “start”
        to “startx”
        then add this line after

        "start":"DISPLAY=${DISPLAY:=:0} ./node_modules/.bin/electron js/electron.js",
        

        then

        npm start
        

        should start your MagicMirror

        this was the way it was before this release

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil
          That worked i picked the right start because there is apparently 2 of them in the text code

          1 Reply Last reply Reply Quote 0
          • S sdetweil has marked this topic as solved on
          • S Offline
            Sampleswow @sdetweil
            last edited by

            @sdetweil
            Update for the Jan 1 2026,
            This no longer fixes the issue. I used your update script and now i get this error;
            sh: 1: ./node_modules/.bin.electron.js: not found

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

              @Sampleswow should not say electron.js

              Do

              cd ~/MagicMirror 
              ls node_modules/electron
              

              If not found do

              npm install electron@39.2.7
              

              If successful
              Do

              npm start
              

              Please advise

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil
                That fixed it for now. I guess will talk again next update lol, Thank you for your dedication to resolving my issue!

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