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

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

      how or if you can use css for that

      maybe… depends on the module

      see https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1647717794860

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      swvalentiS 1 條回覆 最後回覆 回覆 引用 0
      • swvalentiS 離線
        swvalenti Project Sponsor @sdetweil
        最後由 編輯

        @sdetweil any ideas on this one just showed up…It asked me that npm needed major update now it doesn’t work

        C:\Users\Svale\MagicMirror>npm start
        
        > magicmirror@2.18.0 start
        > ./node_modules/.bin/electron js/electron.js
        
        '.' is not recognized as an internal or external command,
        operable program or batch file.
        
        C:\Users\Svale\MagicMirror>
        
        S 2 條回覆 最後回覆 回覆 引用 0
        • S 請勿打擾
          sdetweil @swvalenti
          最後由 編輯

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

          ./node_modules

          yes, you cannot have the ./ in front… windows doesn’t understand that …

          read the instructions again

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @swvalenti you shouldn’t update things unless u know why you are doing it…

            we test with certain runtimes and release every 3 months

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 條回覆 最後回覆 回覆 引用 0
            • swvalentiS 離線
              swvalenti Project Sponsor @sdetweil
              最後由 編輯

              @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:

              ./node_modules

              yes, you cannot have the ./ in front… windows doesn’t understand that …

              read the instructions again

              now I get this error…will never update again lesson learned

              C:\Users\Svale\MagicMirror>npm start
              
              > magicmirror@2.18.0 start C:\Users\Svale\MagicMirror
              > electron js/electron.js
              
              'electron' 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.18.0 start: `electron js/electron.js`
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the magicmirror@2.18.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\Svale\AppData\Roaming\npm-cache\_logs\2022-03-21T21_48_27_176Z-debug.log
              
              C:\Users\Svale\MagicMirror>
              
              S 1 條回覆 最後回覆 回覆 引用 0
              • S 請勿打擾
                sdetweil @swvalenti
                最後由 sdetweil 編輯

                @swvalenti come on

                remove the display and the leading

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

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                swvalentiS 1 條回覆 最後回覆 回覆 引用 0
                • swvalentiS 離線
                  swvalenti Project Sponsor @sdetweil
                  最後由 編輯

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

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

                  I did that sam still doesn’t work sorry to be a bother

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

                    @swvalenti and what is the message?

                    what npm version are u running?

                    npm -v

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    swvalentiS 1 條回覆 最後回覆 回覆 引用 0
                    • swvalentiS 離線
                      swvalenti Project Sponsor @sdetweil
                      最後由 編輯

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

                      @swvalenti and what is the message?

                      what npm version are u running?

                      npm -v

                      this is what i get and below is version

                      C:\Users\Svale\MagicMirror>npm start
                      
                      > magicmirror@2.18.0 start C:\Users\Svale\MagicMirror
                      > electron js\electron.js
                      
                      'electron' 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.18.0 start: `electron js\electron.js`
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the magicmirror@2.18.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\Svale\AppData\Roaming\npm-cache\_logs\2022-03-21T22_10_23_329Z-debug.log
                      
                      C:\Users\Svale\MagicMirror>npm -v
                      6.14.0
                      
                      C:\Users\Svale\MagicMirror>
                      
                      S 1 條回覆 最後回覆 回覆 引用 0
                      • S 請勿打擾
                        sdetweil @swvalenti
                        最後由 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 條回覆 最後回覆 回覆 引用 0
                        • swvalentiS 離線
                          swvalenti Project Sponsor @sdetweil
                          最後由 編輯

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

                          1 條回覆 最後回覆 回覆 引用 0
                          • swvalentiS 離線
                            swvalenti Project Sponsor
                            最後由 swvalenti 編輯

                            此回覆已被刪除!
                            1 條回覆 最後回覆 回覆 引用 0
                            • swvalentiS 離線
                              swvalenti Project Sponsor
                              最後由 編輯

                              @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 條回覆 最後回覆 回覆 引用 -1
                              • S 請勿打擾
                                sdetweil @swvalenti
                                最後由 編輯

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

                                  @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 條回覆 最後回覆 回覆 引用 0
                                  • swvalentiS 離線
                                    swvalenti Project Sponsor @sdetweil
                                    最後由 編輯

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

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

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

                                          此回覆已被刪除!
                                          S 1 條回覆 最後回覆 回覆 引用 0
                                          • S 請勿打擾
                                            sdetweil @DanClarkCBET3
                                            最後由 編輯

                                            @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 條回覆 最後回覆 回覆 引用 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
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 14 / 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