• 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.

updated installer script available for testing

Scheduled Pinned Locked Moved Solved Troubleshooting
211 Posts 18 Posters 209.3k Views 19 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.
  • S Away
    sdetweil @NathTheDude
    last edited by Dec 27, 2019, 9:04 PM

    @NathTheDude if u start the chromium browser from the desktop does it work?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • S Away
      sdetweil
      last edited by Dec 27, 2019, 9:05 PM

      U may need to increase the swap space. Pi 0 has very little memory.

      https://wpitchoune.net/tricks/raspberry_pi3_increase_swap_size.html

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • N Offline
        NathTheDude
        last edited by Dec 27, 2019, 9:14 PM

        Thanks @sdetweil , after a couple of reboots this is now working as expected. Not sure what the issue was, I will have to keep an eye on it. Thanks for the link on swap space, I will also look in that direction if I have any more of the same issues.

        S 1 Reply Last reply Dec 27, 2019, 9:18 PM Reply Quote 0
        • S Away
          sdetweil @NathTheDude
          last edited by Dec 27, 2019, 9:18 PM

          @NathTheDude ok… let me know if there are any other issues…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S N 2 Replies Last reply Jan 2, 2020, 4:34 PM Reply Quote 0
          • S Away
            sdetweil @sdetweil
            last edited by Jan 2, 2020, 4:34 PM

            @sdetweil this installer script is now the script in 2.10…

            I will close/lock this topic in a couple days

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • J Offline
              jorgnyg
              last edited by Jan 10, 2020, 6:09 AM

              Should I install electron with --arch=armv7l ?

              J 1 Reply Last reply Jan 10, 2020, 8:16 AM Reply Quote 0
              • J Offline
                jorgnyg @jorgnyg
                last edited by Jan 10, 2020, 8:16 AM

                @jorgnyg Yea guess so. Installation fails on rpi zero. So I deleted the electron folder from node_modules, and ran npm install --arch=armv7l electron@3.0.13

                S 1 Reply Last reply Jan 10, 2020, 3:41 PM Reply Quote 0
                • S Away
                  sdetweil @jorgnyg
                  last edited by Jan 10, 2020, 3:41 PM

                  @jorgnyg doesn’t fail on my pi 0.

                  Can u send me the install.log

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S J 2 Replies Last reply Jan 10, 2020, 4:05 PM Reply Quote 0
                  • S Away
                    sdetweil @sdetweil
                    last edited by Jan 10, 2020, 4:05 PM

                    @sdetweil note that we made electron optional. There is no armv6l at node 10
                    So we will run in split mode use chromium

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jorgnyg @sdetweil
                      last edited by Jan 10, 2020, 4:08 PM

                      @sdetweil sure thing. Guess this is the most relevant error

                      26380 verbose stack Error: electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js`
                      26380 verbose stack Exit status 1
                      26380 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
                      26380 verbose stack     at EventEmitter.emit (events.js:198:13)
                      26380 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
                      26380 verbose stack     at ChildProcess.emit (events.js:198:13)
                      26380 verbose stack     at maybeClose (internal/child_process.js:982:16)
                      26380 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                      26381 verbose pkgid electron-chromedriver@1.8.0
                      26382 verbose cwd /home/pi/MagicMirror
                      26383 verbose Linux 4.19.75+
                      26384 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
                      26385 verbose node v10.18.1
                      26386 verbose npm  v6.13.4
                      26387 error code ELIFECYCLE
                      26388 error errno 1
                      26389 error electron-chromedriver@1.8.0 install: `node ./download-chromedriver.js`
                      26389 error Exit status 1
                      26390 error Failed at the electron-chromedriver@1.8.0 install script.
                      26390 error This is probably not a problem with npm. There is likely additional logging output above.
                      26391 verbose exit [ 1, true ]
                      
                      S 1 Reply Last reply Jan 10, 2020, 4:22 PM Reply Quote 0
                      • 1
                      • 2
                      • 15
                      • 16
                      • 17
                      • 18
                      • 19
                      • 20
                      • 21
                      • 22
                      • 17 / 22
                      • 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