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
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • J 離線
      jagdambasoft @jagdambasoft
      最後由 編輯

      @jagdambasoft as above i post an error
      Now in package.json change a line under scripts

          "start": "./run-start.sh",
      to
          "start": "run-start.sh",
      
      1 條回覆 最後回覆 回覆 引用 0
      • A 離線
        aab142
        最後由 編輯

        I’m using Windows 10 and got the previous message as well. Changing to “run-start.sh” just opens the file with my text editor. I’m missing something.

        S 2 條回覆 最後回覆 回覆 引用 0
        • R 離線
          roccodicarlo
          最後由 編輯

          I am getting errors when executing NPM install

          $ npm install
          npm ERR! code EPROTO
          npm ERR! errno EPROTO
          npm ERR! request to https://registry.npmjs.org/feedme failed, reason: write EPROTO 15828:error:14094419:SSL routines:ssl3_read_bytes:tlsv1 alert access denied:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1544:SSL alert number 49
          npm ERR!

          npm ERR! A complete log of this run can be found in:
          npm ERR! C:\Users\dicarlro\AppData\Roaming\npm-cache_logs\2020-03-11T19_20_19_606Z-debug.log

          Does this require Adminstrator login…I am not logged in as administrator

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

            @jagdambasoft try the results of the post just before yours

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @aab142 windows … ugh… the script needs access to bash but doesn’t understand ./

              so remove the ./

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 條回覆 最後回覆 回覆 引用 0
              • D 離線
                dwburger
                最後由 編輯

                I’ve started this installation process from 3 years ago on an old Acer laptop running Windows 10. It’s installing MM2 right now. Just wondering…have the walkthrough steps/commands changed in the intervening 3 years in any way that I need to know? I scanned the 85 posts and didn’t see any, but I could have missed it/them. Thanks! And, I’m really glad this topic is still alive!

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

                  @aab142 u need to change the startstring to

                  "start":"node_modules/.bin/electron js/electron.js"
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 條回覆 最後回覆 回覆 引用 0
                  • D 離線
                    dwburger @sdetweil
                    最後由 編輯

                    @sdetweil Perfect timing…thanks! I was trying “npm start” and “npm serveronly” with no luck. I’ll give it a go.

                    1 條回覆 最後回覆 回覆 引用 0
                    • D 離線
                      dwburger
                      最後由 編輯

                      Just for clarity, I enter (without starting/ending quotes), npm “start”:“node_modules/.bin/electron js/electron.js”???

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

                        @dwburger you have to change the “start”: line in package.json to the text I provided

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 條回覆 最後回覆 回覆 引用 0
                        • D 離線
                          dwburger
                          最後由 編輯

                          OK…I’ll work on that.

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

                            @dwburger then npm start will work…

                            npm ???, executes the script next to ??? in package.json

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            D Mykle1M 2 條回覆 最後回覆 回覆 引用 0
                            • D 離線
                              dwburger @sdetweil
                              最後由 編輯

                              @sdetweil Yep, it works…thanks!

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

                                @sdetweil

                                Sam, is there something that I need to change in the original post that is causing problems?

                                Create a working config
                                How to add modules

                                D S 2 條回覆 最後回覆 回覆 引用 0
                                • D 離線
                                  dwburger @Mykle1
                                  最後由 編輯

                                  @Mykle1 May I butt in here. I was the one who started the question. I had to change the “start:” string in the package.json file to:

                                  “start”:“node_modules/.bin/electron js/electron.js”

                                  As Sam instructed. Once I did that, the “npm start” command got my MM2 running.

                                  Thanks, BTW, for creating the walkthrough. I’m thrilled to have MM2 running on my old Acer laptop!

                                  Mykle1M blake_northrupB 2 條回覆 最後回覆 回覆 引用 2
                                  • Mykle1M 離線
                                    Mykle1 Project Sponsor Module Developer @dwburger
                                    最後由 編輯

                                    @dwburger

                                    Oh, I thought perhaps something in the tutorial was wrong. I did not know that MM changed in a way that caused the tutorial to fail. :-(

                                    Thanks, BTW, for creating the walkthrough. I’m thrilled to have MM2 running on my old Acer laptop!

                                    You’re welcome. When I wrote this I was thrilled as well and have since moved to strictly laptop boards, However, I moved from Windows to ubuntu and I’ve never been happier. MM loves linux (ubuntu) and runs beautifully under it, without jumping through any hoops for Windows. It also uses far less resources than Windows. Consider it. You won’t be sorry.

                                    And here it is.

                                    https://forum.magicmirror.builders/topic/6994/mm-and-ubuntu-made-for-each-other

                                    Create a working config
                                    How to add modules

                                    D 2 條回覆 最後回覆 回覆 引用 0
                                    • D 離線
                                      dwburger @Mykle1
                                      最後由 編輯

                                      @Mykle1 I will definitely take a look at Ubuntu. I got here since 1 of my 2 MM2 running with RPi isn’t stable enough and I’ve run out of things to try. I also have an old MacMini that I’m going to try. Thanks for the encouragement!

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

                                        @dwburger

                                        Dude, you’ll have so much fun doing it. I guarantee it! (Well, almost). But I did. And your MacMini? I’ve done Mac boards with ubuntu and MM, as well.

                                        Here. Take a look.

                                        https://forum.magicmirror.builders/topic/6376/macmirror

                                        Create a working config
                                        How to add modules

                                        D 1 條回覆 最後回覆 回覆 引用 0
                                        • D 離線
                                          dwburger @Mykle1
                                          最後由 編輯

                                          @Mykle1 Nice!

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

                                            @dwburger

                                            Did you watch the video? Not bad for a useless, early gen, white iMac

                                            Create a working config
                                            How to add modules

                                            D 1 條回覆 最後回覆 回覆 引用 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
                                            • 7
                                            • 16
                                            • 17
                                            • 5 / 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