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

  • @sdetweil Thank you sir. All is good now.

  • 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 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.


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

  • Project Sponsor Module Developer

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

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

    When you try, is it in quotes?

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

  • yes its in quote.

  • hm,… mine is like Mykle1’s

      address: "", // Address to listen on, can be:
                            // - "localhost", "", "::1" to listen on loopback interface
                            // - another specific IPv4/6 to listen on a specific interface
                            // - "", "", "::" 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 :
                               // ["", "::ffff:", "::1", "::ffff:"],
                               // or IPv4 range of --> use CIDR format :

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

  • @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
    Whoops! There was an uncaught exception…
    TypeError: Cannot read property ‘pollution’ of undefined)

    if this helps

    C:\WINDOWS\system32>netstat -aon | findstr 8080

  • just found out that if i enter 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.

  • @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)

  • 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
        at Object.readdirSync (fs.js:785:3)
        at Class.getFiles (C:\Users\Admin\MagicMirror\modules\MMM-BackgroundSlidesho
        at Class.gatherImageList (C:\Users\Admin\MagicMirror\modules\MMM-BackgroundS
        at Class.socketNotificationReceived (C:\Users\Admin\MagicMirror\modules\MMM-
        at Socket. (C:\Users\Admin\MagicMirror\modules\node_modules\node_
        at Socket.emit (events.js:189:13)
        at C:\Users\Admin\MagicMirror\node_modules\\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