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.

    Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10

    Scheduled Pinned Locked Moved Troubleshooting
    324 Posts 55 Posters 695.7k Views 59 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.
    • A Offline
      airart
      last edited by

      nothing to do, it doesn’t seem to find the electron file and folders

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

        @airart i don’t understand, I installed on windows 10 without trouble… but it was npm v6.

        I just installed and used npm 7.14…

        I had to use the full path to electron

        here is my package.json start line

        "start": "/Users/sdetw/MagicMirror/node_modules/.bin/electron js/electron.js",
        

        this is due to a change in npm… my prior instance will not start now without the full path

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          this is because npm 7.14 is trying to launch from the MagicMirror folder instead of the module folder…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • A Offline
            airart @sdetweil
            last edited by

            @sdetweil can i install npm v6 ?

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

              @airart yes,

              npm install -g npm@6.14.0

              after this completes

              cd MagicMirror
              rd /s/q node_modules
              npm install
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                airart @sdetweil
                last edited by

                @sdetweil in which folder it should be installed

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

                  @airart -g means global

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    airart @sdetweil
                    last edited by

                    @sdetweil it works ! I am so moved, evidently that was the problem.
                    Does CMD remain active how do I leave the MM? fn + f11 reduces to window
                    I also noticed some warnings

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

                      @airart ctrl-c in ther terminal window will stop the active program

                      ignore warnings

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        matefits71
                        last edited by

                        Thanks for the tutorial, i’m running magicmirror on a surface pro 4,

                        The installation worked perfectly but when i tried to run npm start it throw an error “> DISPLAY=”${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js"

                        To bypass the error i edited the package.json by removing the DISPLAY="${DISPLAY:=:0} at the begining, tried npm start and it worked.

                        I’m not sure for what is that display option.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 18
                        • 19
                        • 20
                        • 21
                        • 22
                        • 32
                        • 33
                        • 20 / 33
                        • 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