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.

    Installing MagicMirror on Windows 10

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 863 Views 2 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.
    • E Offline
      edwardbuck
      last edited by

      Hello,

      I am attempting to install MagicMirror on Windows 10. I have followed the steps in the Complete Walkthrough found on this forum. Nodejs installed fine, as well as Git for Windows. I installed MagicMirror via git clone, installed the dependencies, installed the fonts and vendor directories, changed the package.json file, and renamed the sample config file to config.js.

      But, when I try to run MM either from Git bash or from Windows CMD, I get the same errors listed below.

      Is there something I need to update on the config.js file or am I missing something? Thanks for any assistance.

      > magicmirror@2.26.0 start
      > .\node_modules\.bin\electron js\electron.js
      
      
      [16.03.2024 17:43.46.723] [LOG]   Starting MagicMirror: v2.26.0
      [16.03.2024 17:43.46.774] [LOG]   Loading config ...
      [16.03.2024 17:43.46.836] [DEBUG] config template file not exists, no envsubst
      [16.03.2024 17:43.46.904] [LOG]   Loading module helpers ...
      [16.03.2024 17:43.46.905] [LOG]   No helper found for module: alert.
      [16.03.2024 17:43.46.990] [LOG]   Initializing new module helper ...
      [16.03.2024 17:43.46.991] [LOG]   Module helper loaded: updatenotification
      [16.03.2024 17:43.46.992] [LOG]   No helper found for module: clock.
      [16.03.2024 17:43.47.869] [LOG]   Initializing new module helper ...
      [16.03.2024 17:43.47.869] [LOG]   Module helper loaded: calendar
      [16.03.2024 17:43.47.880] [LOG]   No helper found for module: compliments.
      [16.03.2024 17:43.47.881] [LOG]   No helper found for module: weather.
      [16.03.2024 17:43.48.985] [LOG]   Initializing new module helper ...
      [16.03.2024 17:43.48.986] [LOG]   Module helper loaded: newsfeed
      [16.03.2024 17:43.48.986] [LOG]   All module helpers loaded.
      [16.03.2024 17:43.48.991] [LOG]   Starting server on port 8080 ...
      [16.03.2024 17:43.50.173] [ERROR] Whoops! There was an uncaught exception...
      [16.03.2024 17:43.50.175] [ERROR] Error: listen EADDRINUSE: address already in use ::1:8080
          at Server.setupListenHandle [as _listen2] (node:net:1751:16)
          at listenInCluster (node:net:1799:12)
          at GetAddrInfoReqWrap.doListen [as callback] (node:net:1948:7)
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:110:8) {
        code: 'EADDRINUSE',
        errno: -4091,
        syscall: 'listen',
        address: '::1',
        port: 8080
      }
      [16.03.2024 17:43.50.175] [ERROR] MagicMirror┬▓ will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [16.03.2024 17:43.50.176] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      S 1 Reply Last reply Reply Quote 0
      • E Offline
        edwardbuck @sdetweil
        last edited by

        @sdetweil

        Sorry for the super long delay in replying to this post. Shortly after I posted, my wife passed way suddenly. I had to put my Magic Mirror project on hold while I dealt with everything.

        I finally got back to the project and I decided to start fresh, reinstalled Windows 10, reinstalled Magic Mirror, and it is working now. Not sure what the issue was, but a reinstall seemed to fix it. I have had a few configuration changes to make/issues to fix, but I figured them out thanks to various posts here in this forum, and just trying different things until it worked.

        Anyway, thanks for your help.

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

          @edwardbuck said in Installing MagicMirror on Windows 10:

          R] Error: listen EADDRINUSE: address already in use ::1:8080

          that means some other app is using that port…

          did you install pm2 and use it to autostart?

          if so, THAT instance is using the port…
          if you installed pm2, then

          pm2 status
          pm2 stop all
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            edwardbuck @sdetweil
            last edited by

            @sdetweil

            OK, so I rebooted (should have tried that before), and that error is gone, but now I get an error that keeps repeating 30 times:

            [16.03.2024 19:00.34.663] [ERROR] TypeError: first is not a function
                at attachFinishedListener (C:\MagicMirror\node_modules\on-finished\index.js:105:22)
                at attachListener (C:\MagicMirror\node_modules\on-finished\index.js:147:5)
                at onFinished (C:\MagicMirror\node_modules\on-finished\index.js:53:3)
                at SendStream.stream (C:\MagicMirror\node_modules\send\index.js:800:3)
                at SendStream.send (C:\MagicMirror\node_modules\send\index.js:703:8)
                at onstat (C:\MagicMirror\node_modules\send\index.js:725:10)
                at FSReqCallback.oncomplete (node:fs:211:5)
            [16.03.2024 19:00.34.665] [ERROR] MagicMirror┬▓ will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
            [16.03.2024 19:00.34.666] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
            

            I do get a MagicMirror window, but it is completely blank. Any ideas? Thanks!

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

              @edwardbuck an you confirm that you did the extra steps

              npm install in the vendor and fonts folders
              and that you have node version 18 or above installed

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                edwardbuck @sdetweil
                last edited by

                @sdetweil

                Sorry for the super long delay in replying to this post. Shortly after I posted, my wife passed way suddenly. I had to put my Magic Mirror project on hold while I dealt with everything.

                I finally got back to the project and I decided to start fresh, reinstalled Windows 10, reinstalled Magic Mirror, and it is working now. Not sure what the issue was, but a reinstall seemed to fix it. I have had a few configuration changes to make/issues to fix, but I figured them out thanks to various posts here in this forum, and just trying different things until it worked.

                Anyway, thanks for your help.

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

                  @edwardbuck My Condolensces… nothing more important than family

                  thank you for your time trying again… glad you have it working

                  give a shout if you need more helpw ith anything.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S sdetweil has marked this topic as solved on
                  • 1 / 1
                  • 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