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

      @sdetweil it works ! I am so moved, evidently that was the problem.
      Does CMD remain active how do I leave the MM? fn + f11 reduces to window
      I also noticed some warnings

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

        @airart ctrl-c in ther terminal window will stop the active program

        ignore warnings

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 條回覆 最後回覆 回覆 引用 0
        • M 離線
          matefits71
          最後由 編輯

          Thanks for the tutorial, i’m running magicmirror on a surface pro 4,

          The installation worked perfectly but when i tried to run npm start it throw an error “> DISPLAY=”${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js"

          To bypass the error i edited the package.json by removing the DISPLAY="${DISPLAY:=:0} at the begining, tried npm start and it worked.

          I’m not sure for what is that display option.

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

            @matefits71 on Linux, the xwindows graphical system writes to a numbered ‘display’ , and there can be multiple.

            windows doesn’t have that. which is why I’ve written to remove that part, and also run the manual npm install in vendors and go ta folders

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 條回覆 最後回覆 回覆 引用 1
            • A 離線
              angeldchaveza
              最後由 編輯

              $ npm start

              magicmirror@2.16.0 start C:\Users\Tecsis\MagicMirror
              DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

              “DISPLAY” no se reconoce como un comando interno o externo,
              programa o archivo por lotes ejecutable.
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! magicmirror@2.16.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the magicmirror@2.16.0 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\Tecsis\AppData\Roaming\npm-cache_logs\2021-09-02T01_57_52_304Z-debug.log

              A 1 條回覆 最後回覆 回覆 引用 0
              • A 離線
                angeldchaveza @angeldchaveza
                最後由 編輯

                @angeldchaveza .
                im delete display of "matefits71 " error logs view

                0 info it worked if it ends with ok
                1 verbose cli [
                1 verbose cli ‘C:\Program Files\nodejs\node.exe’,
                1 verbose cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
                1 verbose cli ‘start’
                1 verbose cli ]
                2 info using npm@6.14.14
                3 info using node@v14.17.5
                4 verbose stack Error: missing script: start
                4 verbose stack at run (C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:155:19)
                4 verbose stack at C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:63:5
                4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:116:5
                4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:436:5
                4 verbose stack at checkBinReferences_ (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:391:45)
                4 verbose stack at final (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:434:3)
                4 verbose stack at then (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:161:5)
                4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:382:12
                4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:123:16
                4 verbose stack at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:73:3)
                5 verbose cwd C:\Users\Tecsis\MagicMirror
                6 verbose Windows_NT 10.0.19041
                7 verbose argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “start”
                8 verbose node v14.17.5
                9 verbose npm v6.14.14
                10 error missing script: start
                11 verbose exit [ 1, true ]

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

                  @angeldchaveza u are on windows. there are extra steps for windows.

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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

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

                    u are on windows. there are extra steps for windows

                    these were the steps i followed

                    https://forum.magicmirror.builders/topic/4089/complete-walkthrough-install-magicmirror-on-a-pc-windows-7-10

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

                      @angeldchaveza yes, but they changed.

                      my link has the updated steps

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 條回覆 最後回覆 回覆 引用 0
                      • A 離線
                        angeldchaveza
                        最後由 編輯

                        "Installing fonts …
                        "MagicMirror installation finished successfully!

                        magicmirror@2.16.0 prepare C:\Users\Tecsis\magicmirror
                        [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.

                        husky - Git hooks installed
                        npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
                        npm WARN magicmirror@2.16.0 scripts[‘server’] should probably be scripts[‘start’].
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})

                        audited 923 packages in 21.766s

                        110 packages are looking for funding
                        run npm fund for details

                        found 0 vulnerabilities

                        Tecsis@DESKTOP-FGU3JGC MINGW64 ~/magicmirror (master)
                        $ npm start
                        npm ERR! missing script: start

                        npm ERR! A complete log of this run can be found in:
                        npm ERR! C:\Users\Tecsis\AppData\Roaming\npm-cache_logs\2021-09-02T02_53_44_514Z-debug.log

                        Tecsis@DESKTOP-FGU3JGC MINGW64 ~/magicmirror (master)
                        $

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

                          @angeldchaveza do NOT install under
                          MINGW64

                          just straight windows

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 條回覆 最後回覆 回覆 引用 0
                          • K 離線
                            KillK
                            最後由 編輯

                            Hi, newby here… I have reinstaled MM in my win 10 laptop… It was working well until the reinstallation…
                            I am having an issue, i will try to translate it, cuz my cmd is in spanish…

                            magicmirror@2.17.1 start
                            node_modules/.bin/electron js/electron.js

                            “node_modules” doesn’t recognize it as an internal or external command,
                            program or file by executable lot.

                            At the same time i have notice, that “.bin” folder doesn’t contain “electron js” folder inside…

                            I have had to install manually npm for fonts ans vendor’s folders…

                            Please, help me Obi Wan Kenobi…

                            mumblebajM S 2 條回覆 最後回覆 回覆 引用 0
                            • mumblebajM 離線
                              mumblebaj Module Developer @KillK
                              最後由 編輯

                              @killk You have asked the same question in different posts a few times. This can be seen as spamming,

                              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

                              K 1 條回覆 最後回覆 回覆 引用 0
                              • K 離線
                                KillK @mumblebaj
                                最後由 編輯

                                @mumblebaj oh sorry, i have to delete the other one… I didn’t know it.

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

                                  @killk we are all volunteers here. more folks around in the evenings, weekends. but it’s all volunteer. no commitment to answer any question or solve any problem . asking in multiple places doesn’t get help any faster.

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    @killk I had no problem

                                    Win 10, under Vmware

                                    git clone

                                    npm install
                                    and in vendors and fonts
                                    edit the package.json
                                    copy the default config.js from the sample

                                    npm start
                                    Screenshot at 2021-10-05 17-35-46.png

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      @mykle1 how can i resolve this ?
                                      ‘DISPLAY’ is not recognized as an internal or external command,
                                      operable program or batch file.

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

                                        @mounir have to scan further back
                                        see
                                        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

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

                                          @sdetweil no i see this
                                          listen EACCES: permission denied 127.0.0.1:8080
                                          can you help me fix it

                                          S M 2 條回覆 最後回覆 回覆 引用 0
                                          • S 離線
                                            sdetweil @mounir
                                            最後由 sdetweil 編輯

                                            @mounir where do u see that?

                                            u are installing in cmd terminal window, right?
                                            not PowerShell

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            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
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 16
                                            • 17
                                            • 11 / 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