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

      @sdetweil i did. Now i’ve upgraded to windows 8.1. still a black screen but a new error```
      [0110/062053.181:ERROR:_trace_logging_minimal.win.cc<78>] provider resistration failure

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

        @dude31222 I don’t know. those are so far out of service…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 條回覆 最後回覆 回覆 引用 0
        • R 離線
          Reila
          最後由 編輯

          Heyo!
          I’ve done a fresh install of MM2 (on Win10), and now I’m struggling with the blank electron screen.

          I did the vendor and font install, changed the package.json to

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

          according to the guide on page 15, and now I’m getting

          bash: line 1: node_modules.binelectron: command not found
          

          on npm start, doesn’t start up MM.

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

            @Reila you did not do the package.json edit correctly.

            windows uses slashes leaning left

            and u need 2 in each place

            node-modules\\.bin\\electron  js\\electron.js
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil
              Oh, I just copied as it was! It might have been a different guide, it was old after all… I see the backward slashes in a later post now.

              So now I tried

              "start": "node_modules\\.bin\\electron  js\\electron.js",
              

              (with both the double and single space, just in case) and it’s giving me the same error still.
              I tested changing the start-dev variant too.
              I must be missing another step still.

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

                @Reila I am away from my system at the moment be back in an hour or so.

                what does npm -v say?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil No problem! Browser version works fine for tinkering in the meantime :)

                  npm is 8.17.0

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

                    @Reila hm… this is what mine is set to

                    "start": "node_modules\\.bin\\electron js\\electron.js",
                    

                    and I don’t get any errors, but electron starts full screen, black screen

                    but if I open edge and go to localhost:8080 it looks great and if I open electron
                    (the 1st part, node_modules\.bin\electron) and go to http://localhost:8080
                    it works…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 條回覆 最後回覆 回覆 引用 0
                    • R Roadrunner451 referenced this topic on
                    • 1 離線
                      1a2a3a
                      最後由 編輯

                      @sdetweil

                      hi i need some help here. when i ran npm start, im getting this message.

                      Starting MagicMirror: v2.23.0
                      [28.06.2023 13:36.52.647] [LOG] Loading config …
                      [28.06.2023 13:36.52.648] [DEBUG] config template file not exists, no envsubst
                      [28.06.2023 13:36.52.650] [LOG] Loading module helpers …
                      [28.06.2023 13:36.52.650] [LOG] No helper found for module: alert.
                      [28.06.2023 13:36.52.655] [LOG] Initializing new module helper …
                      [28.06.2023 13:36.52.655] [LOG] Module helper loaded: updatenotification
                      [28.06.2023 13:36.52.656] [LOG] No helper found for module: clock.
                      [28.06.2023 13:36.52.717] [LOG] Initializing new module helper …
                      [28.06.2023 13:36.52.717] [LOG] Module helper loaded: calendar
                      [28.06.2023 13:36.52.718] [LOG] No helper found for module: compliments.
                      [28.06.2023 13:36.52.718] [LOG] No helper found for module: weather.
                      [28.06.2023 13:36.52.732] [LOG] Initializing new module helper …
                      [28.06.2023 13:36.52.733] [LOG] Module helper loaded: newsfeed
                      [28.06.2023 13:36.52.733] [LOG] All module helpers loaded.
                      [28.06.2023 13:36.52.737] [LOG] Starting server on port 8080 …
                      [28.06.2023 13:36.52.779] [LOG] Launching application.
                      [28.06.2023 13:36.52.812] [LOG] Server started …
                      [28.06.2023 13:36.52.818] [LOG] Connecting socket for: updatenotification
                      [28.06.2023 13:36.52.818] [LOG] Starting module helper: updatenotification
                      [28.06.2023 13:36.52.818] [LOG] Connecting socket for: calendar
                      [28.06.2023 13:36.52.819] [LOG] Starting node helper for: calendar
                      [28.06.2023 13:36.52.819] [LOG] Connecting socket for: newsfeed
                      [28.06.2023 13:36.52.819] [LOG] Starting node helper for: newsfeed
                      [28.06.2023 13:36.52.820] [LOG] Sockets connected & modules started …

                      am i supposed to do something next?

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

                        @1a2a3a there is a big in the release on windows

                        https://github.com/MichMich/MagicMirror/issues/3083

                        you can follow the instructions to checkout the develop branch, or wait til July 1 for the next release with the fix

                        https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 1 條回覆 最後回覆 回覆 引用 0
                        • 1
                        • 2
                        • 29
                        • 30
                        • 31
                        • 32
                        • 33
                        • 31 / 33
                        • 第一個貼文
                          最後的貼文
                        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