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 706.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
      Damian @Mykle1
      last edited by Damian

      @Mykle1

      Hello. Thank you for this guide.
      Can you help me with one very small problem?
      I did this word for word and everything went perfect. I have MM showing up with the stock modules clock, calendar, compliments, news feed.

      I then go to the config.js file I created with the config.js sample as you stated, to have a look at it before I start getting other modules downloaded, but I get the following error when I try and open it.
      I did try and delete the config.js, and C/P the sample again and rename to config.js but same thing happens. MM works with stock modules, just that I cannot get into the config.js file at all.

      Windows Script Host

      Script:  C:\Users\Damian\MagicMirror\config\config.js
      Line:    26
      Char:    3
      Error:   Expected identifier, string or number
      Code:    800A0404
      Source:  Microsoft JScript compilation error
      

      Edit - I have now tried to open the other JS files, with same result. Just tried to open Compliments JScript Script File and that is showing similar error.

      This is a fresh install of Win 7 Home Premium SP1 and wondering if this needs anything downloaded to be able to read/execute the file, or whether there is another problem in the MM files/install?

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

        @Damian

        What are you trying to open the config.js file with? Open it with your text editor. I prefer Notepad++ because it can open, edit and save just about any code file but any text editor should work on the config.js file.

        Create a working config
        How to add modules

        D 1 Reply Last reply Reply Quote 1
        • D Offline
          Damian @Mykle1
          last edited by Damian

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

          @Damian

          What are you trying to open the config.js file with? Open it with your text editor. I prefer Notepad++ because it can open, edit and save just about any code file but any text editor should work on the config.js file.

          Ahhhhhh I was simply clicking on it as I do with my Pi which then opens the file straight away. So I have to right click on it > open with > and then select Notepad, ect?
          I was too impatient and uninstalled everything, to download and start again incase I did something wrong first time, so it is just finishing off now, and will try as you suggest.

          Thank you for fast reply.

          Edit: Thanks, that worked. Although, even with Word Wrap in notepad enabled, the document is a continuous line that I will have to sort out to resemble the proper layout as it is within my Pi - Neat and tidy.

          Thanks again for your time making this Guide, which was very helpful, and to your timely manner in reply to helping with my school boy error problem

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

            @Damian

            Yes, that should do it. The default Win7 Notepad will work just fine. Notepadd++ is a free download and makes life a whole lot easier if you’re going to be coding or making many edits.

            Oh no! You trashed the entire installation??? But it was working. That was NOT in my Complete Walkthrough.

            :^)

            Create a working config
            How to add modules

            D 1 Reply Last reply Reply Quote 1
            • D Offline
              Damian @Mykle1
              last edited by Damian

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

              @Damian

              Notepadd++ is a free download and makes life a whole lot easier if you’re going to be coding or making many edits.

              I will download that now as Notepad seems to just make an unworkable continuous line in every MM file, and seeing as I will be adding more modules, and editing them, your suggestion might work better?

              Oh no! You trashed the entire installation??? But it was working. That was NOT in my Complete Walkthrough.

              :^)

              Yeah, your guide did indeed work, I just overlooked the obvious that I’m back on a PC, with a fresh win7 install, and need to allocate what opens what first. I was just way too excited to see MM through a PC, my brain was far too much on the end game :-(

              Thanks again for your help.

              Edit:
              Notepad++
              Brilliant, just brilliant. :-)

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

                @Damian said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7:

                Yeah, your guide did indeed work, I just overlooked the obvious that I’m back on a PC, with a fresh win7 install, and need to allocate what opens what first. I was just way too excited to see MM through a PC, my brain was far too much on the end game :-(

                Been there. Done that. No worries.

                Thanks again for your help.

                You’re welcome, mate. Cheers!

                Edit:
                Notepad++
                Brilliant, just brilliant. :-)

                There are other text editors for coding (my son uses Atom) but I have taken a liking to Notepad++. I think it’s safe to say that you’ll enjoy it too.

                Enjoy your PC/mirror.

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • L Offline
                  luizcarlosnery
                  last edited by

                  Hello mykle1,
                  I followed your guide in: https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners, however my problem is not installing modules, I can install almost all, but some do not work … like, voice-control and play-music for ex …
                  Remembering that I’m following your guide complete-walkthrough-install-magicmirror-on-a-pc-windows-7-10
                  My MagicMirror is in Windows 7 64Bits.

                  Thank you so much.

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

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

                    some do not work … like, voice-control and play-music for ex …

                    So, based on your comments I can assume that your MM software is up and running. Some modules are a bit more complicated than others to get working. Perhaps voice-control and play-music are 2 such modules. I don’t use them so I am unable to help you with them. Pay particular attention to the README files that come with them.
                    You can post another topic in TROUBLESHOOTING and ask for help there. Hopefully, someone with experience with those modules can help you.

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      barnosch
                      last edited by

                      great tutorial. Will give it a try later on.
                      I made the complicated way around it and created a VirtualMaschine with Debian, with a standalone MM installation.

                      This natively running thing is way better. Thanks

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

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

                        great tutorial. Will give it a try later on.
                        I made the complicated way around it and created a VirtualMaschine with Debian, with a standalone MM installation.
                        This natively running thing is way better. Thanks

                        You’re welcome.

                        Yes, MM runs beautifully on a PC running windows. Alternately, if you prefer Linux, you can install uBuntu on a PC. That also runs beautifully.

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 32
                        • 33
                        • 3 / 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