MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Electron Browser outdated?

    Scheduled Pinned Locked Moved Troubleshooting
    25 Posts 7 Posters 9.8k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rudibaraniR Offline
      rudibarani Project Sponsor
      last edited by

      Dear all,
      I am using this page at night including a module (MMM-SmartWebDisplay from @AgP42) which used to show a livestream from the ISS until the ISS camera payload unfortunately reached its end of live a few weeks ago:
      alt text

      Now I noticed a message in the bottom corner of the livestream, claiming that the browser is outdated.
      0_1568804756364_IMG_4522.jpeg
      The link redirects to this website: https://support.video.ibm.com/hc/en-us/articles/360000403129-Supported-Browsers-for-IBM-Watson-Media

      I am using MagicMirror² v2.8.0, Node v11.6.0 and npm 6.9.0.
      How do I update the electron browser accordingly?

      Thanks for your support!

      S Mykle1M 2 Replies Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @rudibarani
        last edited by

        @rudibarani
        MagicMirror 2.8.0 is using Electron 3.0.13, and the latest version is 6.09 (4, 5 and 6 were all released since march of this year)…

        I don’t know Mitch’s plans for version updates… you might open an issue in the MagicMirror github repo.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • lavolp3L Offline
          lavolp3 Module Developer
          last edited by

          Would be interesting to see what happens if electron 6 gets installed.
          Anybody here ready to give it a try and crash his mirror? :-D

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @rudibarani
            last edited by

            @rudibarani

            The same happens on my MMM-ISS-Live module. However, in my case, I simply “X” out the message and the module continues to work properly. Yes, you need to be able to click.

            Odd, I just quit MM and relaunched and the message did NOT appear this time. Hmmm.

            0_1568849698073_Capture.JPG

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote -1
            • S Do not disturb
              sdetweil
              last edited by sdetweil

              I downloaded a fresh MagicMirror copy, and changed the electron version to “latest”, in package.json
              And then did npm install
              Default config runs fine

              Will try some other modules

              Pir, hotword, assistantmk2.

              Ubuntu 18.04.2 LTS, Intel,  electron v6.0.10, ok
                 node 8.10.0
                 npm 6.11.3
              
              Ubuntu 18.04.3 LTS, odroid, electron v6.0.10, ok 
                 node 8.10.0 
                 npm 6.10.2
                 MMM-PIR-Sensor fails, access denied, exportGPIO, /sys/class/gpio/export
                 MMM-Hotword, V2, ok. 
                 MMM_AssistantMk2, ok
              
              Raspian stretch 9.4, pi V3,  electron v6.0.10, ok
                 node 10.6.0
                 npm, 6.11.3
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 1
              • S Do not disturb
                sdetweil
                last edited by

                so far, testing looks good… not on pi yet tho

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Reply Quote 1
                • S Do not disturb
                  sdetweil @sdetweil
                  last edited by

                  @sdetweil pi 3 looks good.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • rudibaraniR Offline
                    rudibarani Project Sponsor
                    last edited by rudibarani

                    Thanks @sdetweil - changing the electron to latest works fine for me on a Mac Mini. I tested all my modules and did not find glitch so far.
                    @MichMich: Is there a special reading why you stick to version 3.0.13?

                    S StoffbeuteluweS 3 Replies Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @rudibarani
                      last edited by

                      @rudibarani cool. can u post the node and npm versions? thanks

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      rudibaraniR 1 Reply Last reply Reply Quote 0
                      • rudibaraniR Offline
                        rudibarani Project Sponsor @sdetweil
                        last edited by

                        @sdetweil: I only updated electron without changing npm and node - so I am still using Node v11.6.0 and npm 6.9.0 on my Mac Mini (24/7 since 2009 :slightly_smiling_face:)

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @rudibarani
                          last edited by

                          @rudibarani just wanting to know what the levels were. Thank you

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • StoffbeuteluweS Offline
                            Stoffbeuteluwe Project Sponsor @rudibarani
                            last edited by

                            @rudibarani how can I update electron?

                            lavolp3L 1 Reply Last reply Reply Quote 0
                            • StoffbeuteluweS Offline
                              Stoffbeuteluwe Project Sponsor @rudibarani
                              last edited by

                              @rudibarani I have a Mac mini

                              1 Reply Last reply Reply Quote 0
                              • lavolp3L Offline
                                lavolp3 Module Developer @Stoffbeuteluwe
                                last edited by

                                @Stoffbeuteluwe go into the MagicMirror home folder and execute

                                npm install electron@latest
                                

                                How to troubleshoot modules
                                MMM-soccer v2, MMM-AVStock

                                StoffbeuteluweS 3 Replies Last reply Reply Quote 2
                                • lavolp3L Offline
                                  lavolp3 Module Developer
                                  last edited by

                                  Testing now electron@6.0.10 on a
                                  Raspberry Pi 4 with
                                  npm@6.10.2 and
                                  node@10.15.2

                                  Will report back as soon as I have something

                                  How to troubleshoot modules
                                  MMM-soccer v2, MMM-AVStock

                                  1 Reply Last reply Reply Quote 1
                                  • StoffbeuteluweS Offline
                                    Stoffbeuteluwe Project Sponsor @lavolp3
                                    last edited by

                                    @lavolp3 thanks

                                    1 Reply Last reply Reply Quote 0
                                    • StoffbeuteluweS Offline
                                      Stoffbeuteluwe Project Sponsor @lavolp3
                                      last edited by

                                      @lavolp3 works fine on Mac

                                      1 Reply Last reply Reply Quote 1
                                      • StoffbeuteluweS Offline
                                        Stoffbeuteluwe Project Sponsor @lavolp3
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil
                                          last edited by

                                          I have submitted change to upgrade to version 6.0.12 on next update

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • V Offline
                                            Vauxdvihl
                                            last edited by

                                            @lavolp3 said in Electron Browser outdated?:

                                            npm install electron@latest

                                            Hi all,
                                            i have updated the electron like above written (because i had the same issue)
                                            After update nothing works

                                            Error code

                                            pi@raspberrypi:~/MagicMirror $ npm start dev
                                            
                                            > magicmirror@2.9.0 start /home/pi/MagicMirror
                                            > sh run-start.sh "dev"
                                            
                                            /home/pi/MagicMirror/node_modules/electron/index.js:14
                                                throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
                                                ^
                                            
                                            Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
                                                at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)
                                                at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)
                                                at Module._compile (internal/modules/cjs/loader.js:778:30)
                                                at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                                                at Module.load (internal/modules/cjs/loader.js:653:32)
                                                at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                                                at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                                                at Module.require (internal/modules/cjs/loader.js:692:17)
                                                at require (internal/modules/cjs/helpers.js:25:18)
                                                at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)
                                            npm ERR! code ELIFECYCLE
                                            npm ERR! errno 1
                                            npm ERR! magicmirror@2.9.0 start: `sh run-start.sh "dev"`
                                            npm ERR! Exit status 1
                                            npm ERR! 
                                            npm ERR! Failed at the magicmirror@2.9.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!     /home/pi/.npm/_logs/2019-11-22T22_16_40_595Z-debug.log
                                            

                                            Can please somebody help me
                                            Thanks a lot
                                            Regards

                                            S 1 Reply Last reply Reply Quote 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 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            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