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.
    • 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 Offline
            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
                • S Offline
                  sdetweil @djniuss
                  last edited by

                  @djniuss sorry, I don’t understand what you said.

                  on the computer that as the MM running i had the black screen

                  if u have black screen, ctrl-shift-i to open the developers env, and then select the console tab and scroll to find errors (red text)…

                  most of the UI errors like this, will kill the UI (and result in a black screen)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jelbear
                    last edited by

                    Thanks for this guide its been really helpful, it has enabled me to install MM on a win7 VM acting as a node serveronly on an always on machine, which helps to release some resources on a Pi zero attached to a display.

                    Everything seems to run OK, other than any module that pulls images from a path e.g. MMM-Wallpaper, MMM-Backgroundslideshow, even when the config is left to use the default paths to the module’s examples, there is an ENOENT error shown in the Git Bash window. Doesn’t matter if they are url link images i.e. bing or locally stored images.

                    Using the exact same config script when installed on a Pi the background images show.

                    Anyone got any ideas about how this can be fixed, as I’m not using it as a mirror, but as a family kitchen dashboard so the images are fairly important.

                    a “npm run config:check” command says that there are no syntax errors in the config file

                    I believe it has to to with path syntax between windows and linux but that is about all I can come up with

                    Whoops! There was an uncaught exception...
                    { Error: ENOENT: no such file or directory, scandir '/modules/MMM-BackgroundSlid
                    eshow/exampleImages'
                        at Object.readdirSync (fs.js:785:3)
                        at Class.getFiles (C:\Users\Admin\MagicMirror\modules\MMM-BackgroundSlidesho
                    w\node_helper.js:71:45)
                        at Class.gatherImageList (C:\Users\Admin\MagicMirror\modules\MMM-BackgroundS
                    lideshow\node_helper.js:60:12)
                        at Class.socketNotificationReceived (C:\Users\Admin\MagicMirror\modules\MMM-
                    BackgroundSlideshow\node_helper.js:92:28)
                        at Socket.<anonymous> (C:\Users\Admin\MagicMirror\modules\node_modules\node_
                    helper\index.js:113:11)
                        at Socket.emit (events.js:189:13)
                        at C:\Users\Admin\MagicMirror\node_modules\socket.io\lib\socket.js:528:12
                        at process._tickCallback (internal/process/next_tick.js:61:11)
                      errno: -4058,
                      syscall: 'scandir',
                      code: 'ENOENT',
                      path: '/modules/MMM-BackgroundSlideshow/exampleImages' }
                    MagicMirror will not quit, but it might be a good idea to check why this happene
                    d. Maybe no internet connection?
                    If you think this really is an issue, please open an issue on GitHub: https://gi
                    thub.com/MichMich/MagicMirror/issues
                    
                    
                    justjim1220J lavolp3L 2 Replies Last reply Reply Quote 0
                    • justjim1220J Offline
                      justjim1220 Module Developer @jelbear
                      last edited by

                      @jelbear

                      Just to be sure… You do have a folder named exampleImages within you MMM-BackgroundSlideshow directory???

                      I just installed and ran this module on my Windows device and it works just fine.

                      Looking at the error you posted above, it looks as if your exampeImages folder is missing.

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

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jelbear
                        last edited by

                        I can confirm that the folder is there

                        Modules were installed using git clone command while in the MagicMirror/modules folder.

                        Is there anything different you have to do when installing modules under a windows system

                        Currently I’m just doing the above command and then adding the required code to the config file

                        justjim1220J bheplerB 2 Replies Last reply Reply Quote 0
                        • justjim1220J Offline
                          justjim1220 Module Developer @jelbear
                          last edited by

                          @jelbear

                          Not that I can think of

                          I’m not using a RasPi either.
                          If I had one, I would try it to se if any difference.

                          Sorry.

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

                          1 Reply Last reply Reply Quote 0
                          • bheplerB Offline
                            bhepler Module Developer @jelbear
                            last edited by

                            @jelbear - To my knowledge, the only difference between Windows and Linux systems is that you may have to specify the file paths slightly differently. Windows requires you to put any folder with a space in the name in quotes. This can get tricky when you’re passing in a string which is surrounded by quotes and also contains quotes.

                            Is there a space in any part of your path to the exampleImages folder?

                            1 Reply Last reply Reply Quote 0
                            • lavolp3L Offline
                              lavolp3 Module Developer @jelbear
                              last edited by lavolp3

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                jelbear
                                last edited by

                                it somehow seems to have resolved itself

                                i deleted the folder and redid the git clone and it is working, not sure what happened, but it is working now,

                                many thanks for taking the time to reply

                                1 Reply Last reply Reply Quote 1
                                • B Offline
                                  brandonbrown
                                  last edited by

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

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

                                  Thank you so much for this post! I’m new to the Pi and MagicMirror. Working on the PI remotely was a bit of pain and this allowed me to run MagicMirror on my main machine with VMWare Workstation.

                                  First off let me say these instructions were ‘spot-on’ and I was up and running immediately.

                                  As I added modules, I noticed some of them were not working, a.k.a. not loading any data. They would activate, say “loading…” and nothing else.

                                  I researched a few of the modules I was using and found one step that needs to be on your list:

                                  ‘npm install request’

                                  After that, the modules in question began updating with data.

                                  Thank you again for giving me a better dev environment to work in!

                                  Brandon

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

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

                                    I researched a few of the modules I was using and found one step that needs to be on your list:
                                    ‘npm install request’

                                    Well, the modules that require that package should tell you in their respective readme files but thanks for the headsup. I’m glad you found the tutorial helpful. :-)

                                    Create a working config
                                    How to add modules

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

                                      Hello, I had an EACCESS error thrown when launching the MM as directed in this thread. I was able to fix this error by changing the port number from 8080 to 9000 in config.js

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

                                        @dstoianovici yes,if some other app is using 8080 then u have to change it… mine is on 8086. 8080-8085 are in use

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          CliffordW
                                          last edited by

                                          It should probably be easy, but I can’t seem to find it. What is the command I can use to start MM on Windows 10 startup?

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            CliffordW
                                            last edited by

                                            Thanks for a great guide, got me up and running quickly. Can you guide me where do I insert the commands to rotate the display to portrait mode?

                                            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
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 15 / 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