• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 7.1k 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.
  • L Offline
    lavolp3 Module Developer @Stoffbeuteluwe
    last edited by Sep 24, 2019, 7:08 AM

    @Stoffbeuteluwe go into the MagicMirror home folder and execute

    npm install electron@latest
    

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

    S 3 Replies Last reply Sep 24, 2019, 10:16 AM Reply Quote 2
    • L Offline
      lavolp3 Module Developer
      last edited by Sep 24, 2019, 7:10 AM

      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
      • S Offline
        Stoffbeuteluwe Project Sponsor @lavolp3
        last edited by Sep 24, 2019, 10:16 AM

        @lavolp3 thanks

        1 Reply Last reply Reply Quote 0
        • S Offline
          Stoffbeuteluwe Project Sponsor @lavolp3
          last edited by Sep 24, 2019, 1:31 PM

          @lavolp3 works fine on Mac

          1 Reply Last reply Reply Quote 1
          • S Offline
            Stoffbeuteluwe Project Sponsor @lavolp3
            last edited by Sep 24, 2019, 1:36 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil
              last edited by Nov 22, 2019, 10:09 PM

              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 Nov 22, 2019, 10:19 PM

                @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 Nov 22, 2019, 11:22 PM Reply Quote 0
                • S Offline
                  sdetweil @Vauxdvihl
                  last edited by Nov 22, 2019, 11:22 PM

                  @Vauxdvihl

                  yes, lets try something not so new…

                  do

                  cd ~/MagicMirror
                  rm -rf node_modules/electron
                  npm install electron@6.0.12
                  

                  note that for other modules, you may also have to run electron-rebuild

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Feb 28, 2021, 2:45 AM Reply Quote 0
                  • V Offline
                    Vauxdvihl
                    last edited by Nov 23, 2019, 6:50 PM

                    @sdetweil said in Electron Browser outdated?:

                    npm install electron@6.0.12

                    Thanks a lot
                    Works find

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @sdetweil
                      last edited by Feb 28, 2021, 2:45 AM

                      @sdetweil

                      Sorry about reviving an old thread but I thought you and others might want to know

                      Bro, I went ahead and installed npm install electron@latest (11.3.0) as an experiment. Both my MMM-ISS-Live and EARTH-Live modules were affected by electron. It appears the latest version of electron has fixed the problem, at least with these two modules

                      Create a working config
                      How to add modules

                      S 1 Reply Last reply Feb 28, 2021, 1:25 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      • 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