MagicMirror Forum
    • 最新
    • 標籤
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • 註冊
    • 登入
    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

    已排程 已置頂 已鎖定 已移動 Troubleshooting
    324 貼文 55 Posters 783.4k 瀏覽 59 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • justjim1220J 離線
      justjim1220 Module Developer @jelbear
      最後由 編輯

      @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 條回覆 最後回覆 回覆 引用 0
      • J 離線
        jelbear
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • justjim1220J 離線
          justjim1220 Module Developer @jelbear
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 0
          • bheplerB 離線
            bhepler Module Developer @jelbear
            最後由 編輯

            @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 條回覆 最後回覆 回覆 引用 0
            • lavolp3L 離線
              lavolp3 Module Developer @jelbear
              最後由 lavolp3 編輯

              此回覆已被刪除!
              1 條回覆 最後回覆 回覆 引用 0
              • J 離線
                jelbear
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 1
                • B 離線
                  brandonbrown
                  最後由 編輯

                  @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 條回覆 最後回覆 回覆 引用 0
                  • Mykle1M 離線
                    Mykle1 Project Sponsor Module Developer @brandonbrown
                    最後由 編輯

                    @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 條回覆 最後回覆 回覆 引用 0
                    • D 離線
                      dstoianovici
                      最後由 編輯

                      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 條回覆 最後回覆 回覆 引用 0
                      • S 請勿打擾
                        sdetweil @dstoianovici
                        最後由 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 條回覆 最後回覆 回覆 引用 0
                        • C 離線
                          CliffordW
                          最後由 編輯

                          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 條回覆 最後回覆 回覆 引用 0
                          • C 離線
                            CliffordW
                            最後由 編輯

                            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 條回覆 最後回覆 回覆 引用 0
                            • B 離線
                              bdream
                              最後由 編輯

                              @Mykle1 Many thanks for this description!

                              Just got it run under Windows 7. That will help to play and learn how to get own modules :nerd_face:

                              Two questions I have.
                              My MM is version 2.6.0. I planned to run updatescript from @sdetweil but failed. Yahe you any idea?

                              Is there an option to run MM in a window being able to shrink and move over the desktop?

                              –
                              cheers, bdream

                              S Mykle1M 3 條回覆 最後回覆 回覆 引用 0
                              • S 請勿打擾
                                sdetweil @bdream
                                最後由 編輯

                                @bdream come talk in the Updated Installer topic

                                https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 條回覆 最後回覆 回覆 引用 0
                                • S 請勿打擾
                                  sdetweil @bdream
                                  最後由 編輯

                                  @bdream F11 will take a window from full screen to not

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • Mykle1M 離線
                                    Mykle1 Project Sponsor Module Developer @bdream
                                    最後由 編輯

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

                                    Is there an option to run MM in a window being able to shrink and move over the desktop?

                                    Your F11 key should toggle between full screen MM and MM in a window

                                    Create a working config
                                    How to add modules

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • Mykle1M 離線
                                      Mykle1 Project Sponsor Module Developer
                                      最後由 編輯

                                      Damn Sam, you’re just too fast!

                                      Create a working config
                                      How to add modules

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • B 離線
                                        bdream
                                        最後由 編輯

                                        F11 seems to be a got hint, even it comes from @Mykle1 or @sdetweil.

                                        Will try it this evening - thanks!

                                        –
                                        cheers, bdream

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • O 離線
                                          OldShaterhan
                                          最後由 編輯

                                          For me setup running MagicMirror on Windows 10 worked by:

                                          • cloning the repository
                                          • then edit package.json by changing following line:
                                            "scripts": {
                                              "start": "./run-start.sh",
                                          

                                          to:

                                            "scripts": {
                                              "start": "bash ./run-start.sh",
                                          

                                          Simple change, works in every location on my PC.

                                          blake_northrupB 1 條回覆 最後回覆 回覆 引用 0
                                          • J 離線
                                            jagdambasoft
                                            最後由 編輯

                                            $ npm start

                                            magicmirror@2.10.1 start C:\Users\Office\MagicMirror
                                            ./run-start.sh

                                            ‘.’ is not recognized as an internal or external command,
                                            operable program or batch file.
                                            npm ERR! code ELIFECYCLE
                                            npm ERR! errno 1
                                            npm ERR! magicmirror@2.10.1 start: ./run-start.sh
                                            npm ERR! Exit status 1
                                            npm ERR!
                                            npm ERR! Failed at the magicmirror@2.10.1 start script.
                                            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

                                            npm ERR! A complete log of this run can be found in:
                                            npm ERR! C:\Users\Office\AppData\Roaming\npm-cache_logs\2020-02-25T06_03_03_308Z-debug.log
                                            What Will I DO

                                            J S 2 條回覆 最後回覆 回覆 引用 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 💗

                                            註冊 登入
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 16
                                            • 17
                                            • 4 / 17
                                            • 第一個貼文
                                              最後的貼文
                                            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