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.5k 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.
    • S Do not disturb
      sdetweil @swvalenti
      last edited by sdetweil

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

      electron js\electron.js

      u still have it wrong

      “node_modules/.bin/electron electron.js”

      electron is not in the path, so you have to give it the path to the executable

      once again different versions of node and npm require slightly different solutions…
      this is not an MM problem… they keep messing it up (in my opinion)

      https://forum.magicmirror.builders/topic/4089/complete-walkthrough-install-magicmirror-on-a-pc-windows-7-10/141?_=1638708846564

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      swvalentiS 1 Reply Last reply Reply Quote 0
      • swvalentiS Offline
        swvalenti Project Sponsor @sdetweil
        last edited by

        @sdetweil oh well I give up I tried all the steps, thanks for all the help and patience

        1 Reply Last reply Reply Quote 0
        • swvalentiS Offline
          swvalenti Project Sponsor
          last edited by swvalenti

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • swvalentiS Offline
            swvalenti Project Sponsor
            last edited by

            @sdetweil the only thing that isn’t working now is when I run npm init-y in each module folder the module in the dev window is still asking for replace instead of request

            S 2 Replies Last reply Reply Quote -1
            • S Do not disturb
              sdetweil @swvalenti
              last edited by

              @swvalenti you don’t run npm init unless u need to. only if u need to install a library that mm doesn’t reference anymore

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

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

                is still asking for replace instead of request

                what?

                words not clear

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                swvalentiS 1 Reply Last reply Reply Quote 0
                • swvalentiS Offline
                  swvalenti Project Sponsor @sdetweil
                  last edited by

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

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

                  is still asking for replace instead of request

                  what?

                  words not clear

                  Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
                      at cmpVersions (module.js:525)
                      at Function.Module.register (module.js:502)
                      at MMM-OpenWeatherForecast.js:41
                  

                  I did what you said but still get this error for some reason

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

                    @swvalenti ok, sometimes this is because of a typo in the config position for the module

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

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

                        This post is deleted!
                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @DanClarkCBET3
                          last edited by

                          @DanClarkCBET3 see
                          https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            Is there a way to make a desktop shortcut to start MagicMirror?

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

                              @DanClarkCBET3 sure. create a batch file

                              mm.cmd

                              in the installers folder, and then use that for the shortcut

                              mm.cmd should do

                              @npm start

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                My apologies if the answer to my question is located somewhere in this long thread. As a quick method of bringing some MM functionality to my kids in college, I’d like to install MM onto their laptops and have it autorun at start (like a batch file) and run in a small window.

                                I see that I can install it on their laptops and I know how to create a batch file, but what I don’t know is how to ensure that a linux program starts in a windows batch file and how to get it to autosize to a small window.

                                Has anyone done that?

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

                                  @CheapDad use PM2 to auto launch

                                  this is a node application

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  mumblebajM 1 Reply Last reply Reply Quote 0
                                  • mumblebajM Offline
                                    mumblebaj Module Developer @sdetweil
                                    last edited by

                                    @sdetweil Don’t think it is an easy straight forward setup for PM2 on Windows to launch the mirror or am I mistaken? Would he have to setup pm2-windows-service and then perform some other setups to get PM2 to work to launch MM on Windows at startup?

                                    Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                    Check my blog-post: https://mumblebaj.xyz/
                                    Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                                      @mumblebaj pm2 setup does all that …

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      mumblebajM 1 Reply Last reply Reply Quote 0
                                      • mumblebajM Offline
                                        mumblebaj Module Developer @sdetweil
                                        last edited by

                                        @sdetweil :thumbs_up:

                                        Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                        Check my blog-post: https://mumblebaj.xyz/
                                        Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                                          @mumblebaj I was wrong for windows, and setup
                                          see here
                                          https://stackoverflow.com/questions/42758985/windows-auto-start-pm2-and-node-apps

                                          still pm2 is the easiest and same on every platform…

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          mumblebajM 1 Reply Last reply Reply Quote 0
                                          • mumblebajM Offline
                                            mumblebaj Module Developer @sdetweil
                                            last edited by

                                            @CheapDad Here is a great tutorial to set up PM2 on Windows.
                                            https://blog.cloudboost.io/nodejs-pm2-startup-on-windows-db0906328d75

                                            Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                            Check my blog-post: https://mumblebaj.xyz/
                                            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                            1 Reply Last reply Reply Quote 0
                                            • C CheapDad referenced this topic on

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