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 783.2k 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.
    • justjim1220J Offline
      justjim1220 Module Developer @arciemaps
      last edited by

      @arciemaps new version of MagicMirror just came out a few days ago.

      I would scrap everthing and start over with the instructions for the walkthrough.

      Only changes I would make is to be sure to get the latest version of everything, ie: nodejs, git for windows, and the MagicMirror.

      I think when I started to do this, I had a few problems at first, but once I got it to work, then it got a lot easier…

      Are you using Win & 32-bit or 64-bit???

      "Life's Too Short To Dance With Ugly People"
      Jim Hallock - 1995

      1 Reply Last reply Reply Quote 0
      • I Offline
        ionut322
        last edited by

        Hello guys, newbie here … I did everything by the book on my laptop and it runs fine (I want to build a mirror and Im currently testing the software) but it says hello and nothing more … except the greetings … how do I take pictures ?! … :(

        ? justjim1220J 2 Replies Last reply Reply Quote 0
        • ? Offline
          A Former User @ionut322
          last edited by A Former User

          @ionut322 take a picture? What do you mean?

          1 Reply Last reply Reply Quote 1
          • justjim1220J Offline
            justjim1220 Module Developer @ionut322
            last edited by

            @ionut322

            I’m with @Sean, need more info to help you…:winking_face:

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            1 Reply Last reply Reply Quote 0
            • J Offline
              Johans @Mykle1
              last edited by

              @mykle1

              Followed your guide to install on my windows 10 - 64 bit machine.
              Installation went OK, but when I start mirror I just get a black screen.

              This is the error message

              Launching application.
              Whoops! There was an uncaught exception...
              { Error: listen EADDRINUSE 127.0.0.1:8080
                  at Object._errnoException (util.js:1024:11)
                  at _exceptionWithHostPort (util.js:1046:20)
                  at Server.setupListenHandle [as _listen2] (net.js:1351:14)
                  at listenInCluster (net.js:1392:12)
                  at GetAddrInfoReqWrap.doListen [as callback] (net.js:1501:7)
                  at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10)
                code: 'EADDRINUSE',
                errno: 'EADDRINUSE',
                syscall: 'listen',
                address: '127.0.0.1',
                port: 8080 }
              MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              
              
              

              Hope you can help me out.

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

                @johans said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:

                Error: listen EADDRINUSE 127.0.0.1:8080
                at Object._errnoException (util.js:1024:11)
                at _exceptionWithHostPort

                This typically means that another application or program is using the port (8080) that MagicMirror uses. You would have to resolve that issue

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • J Offline
                  Johans
                  last edited by

                  @mykle1
                  Thanks for the info, can’t find out who is using port 8080, but I changed in the config to use another port.
                  Now all is working. :thumbs_up_light_skin_tone:

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

                    @johans

                    Well done, mate. :thumbsup:

                    Create a working config
                    How to add modules

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      Johans @Mykle1
                      last edited by

                      @mykle1 FYI
                      Meanwhile I found the problem of port 8080, due to some malware on that PC, the proxi settings where modified, only option was to re-install OS. Lucky I had some backup so that didn’t took so long.
                      Now proxi settings are no longer hi-jacked and I can run MM normally.
                      Problem solved!

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

                        @johans

                        Ahh, Windows. I no longer use it for MM. I’m strictly a ubuntu 16.04 LTS guy now.

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          djniuss
                          last edited by djniuss

                          Hi. quick question. the MM work with the basic modules. as soon as i try to install a 3rd party module i have a syntax error. Checked and rechecked the code and there is no error. is there special thing to add code thant im not aware of

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

                            @djniuss from the MM folder do

                            npm run config:check
                            

                            fix errors from top down

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            D 1 Reply Last reply Reply Quote 1
                            • D Offline
                              djniuss @sdetweil
                              last edited by

                              @sdetweil Thank you sir. All is good now.

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                djniuss
                                last edited by

                                Other question.

                                is there a way to acces to mirror server from another device ( like the rpi does)

                                i have withelisted all ip. and cant seem to connect. i have created rules in the windows firewall and router and still nothing.

                                instead og localhost if i enter 0.0.0.0 i only have a black screen.

                                is this possible . im building a smaller mirror and would like to connnect to the mirror that i already have running.

                                Thanks

                                D Mykle1M 2 Replies Last reply Reply Quote 0
                                • D Offline
                                  djniuss @djniuss
                                  last edited by

                                  forgot to mention that i can acces the server from chrome on the cpu thats running the mirror

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

                                    @djniuss said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:

                                    instead og localhost if i enter 0.0.0.0 i only have a black screen.

                                    When you try 0.0.0.0, is it in quotes?

                                            address: "0.0.0.0", // "localhost",
                                    	port: 8080,
                                    	ipWhitelist: [],
                                    	language: "en",
                                    	timeFormat: 12,
                                    	units: "imperial",
                                    

                                    Create a working config
                                    How to add modules

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      djniuss
                                      last edited by

                                      yes its in quote.

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

                                        hm,… mine is like Mykle1’s

                                          address: "0.0.0.0", // Address to listen on, can be:
                                                                // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                                                // - another specific IPv4/6 to listen on a specific interface
                                                                // - "", "0.0.0.0", "::" to listen on any interface
                                                                // Default, when address config is left out, is "localhost"
                                          port: 8086,
                                          ipWhitelist: [], // Set [] to allow all IP addresses
                                                                   // or add a specific IPv4 of 192.168.1.5 :
                                                                   // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                                                                   // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                                                           
                                        

                                        but u get a black screen? that sounds like two versions trying to run at the same time…
                                        did u reboot?

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        D 1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          djniuss @sdetweil
                                          last edited by

                                          @sdetweil yep did reboot a few time. it does not seem that i have more thant one mingw32 running or electron browser.

                                          the only error i have in the log is regardin the polution ( NOAA3 weather updated… next update in 1 hour
                                          fr
                                          Whoops! There was an uncaught exception…
                                          TypeError: Cannot read property ‘pollution’ of undefined)

                                          if this helps

                                          C:\WINDOWS\system32>netstat -aon | findstr 8080
                                          TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 5216
                                          TCP 127.0.0.1:8080 127.0.0.1:53407 ESTABLISHED 5216
                                          TCP 127.0.0.1:53407 127.0.0.1:8080 ESTABLISHED 5216

                                          1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            djniuss
                                            last edited by

                                            just found out that if i enter 0.0.0.0 i can acces from other computer via Chrome. but the computer that runs MM as a black screen.

                                            and by mistake : on the computer that as the MM running i had the black screen so i opend up the chrmome browser wit the local host add . i was about the drag the top bar on the desktop in order to have a MM browser chrome link on the desktop … i droped it on the black screen ( electron) and automatically the MM showed up.

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 16
                                            • 17
                                            • 3 / 17
                                            • 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