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.

    MMM-BackgroundSlideshow 'linux-armv7' binaries cannot be used on the "linux-armvdefault platform

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    11 Posts 6 Posters 1.7k Views 6 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.
    • K Offline
      Katai
      last edited by

      MMM-BackgroundSlideshow doesn’t seem to work.

      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      [13.12.2021 00:33.17.130] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: 'linux-armv7' binaries cannot be used on the 'linux-armvdefault' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-armvdefault' platform.
      [13.12.2021 00:33.17.155] [ERROR] App threw an error during load
      [13.12.2021 00:33.17.158] [ERROR] Error: 'linux-armv7' binaries cannot be used on the 'linux-armvdefault' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-armvdefault' platform.
          at Object.hasVendoredLibvips (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/libvips.js:82:13)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/constructor.js:7:22)
          at Module._compile (internal/modules/cjs/loader.js:1078:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
          at Module.load (internal/modules/cjs/loader.js:935:32)
          at Module._load (internal/modules/cjs/loader.js:776:14)
          at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
          at Module.require (internal/modules/cjs/loader.js:959:19)
          at require (internal/modules/cjs/helpers.js:88:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/index.js:3:15)
      [13.12.2021 00:33.17.161] [ERROR] Whoops! There was an uncaught exception...
      [13.12.2021 00:33.17.169] [ERROR] Error: 'linux-armv7' binaries cannot be used on the 'linux-armvdefault' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-armvdefault' platform.
      
      

      Any clue what might be going on here?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Katai
        last edited by

        @katai tell us more

        output of
        uname -a
        and
        lsb_release -a

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          Brandoney @sdetweil
          last edited by

          @sdetweil
          I have this issue.

           uname -a
          Linux raspberrypi 5.10.63-v7l+ #1488 SMP Thu Nov 18 16:15:28 GMT 2021 armv7l GNU/Linux
          pi@raspberrypi:~/MagicMirror/config $ lsb_release -a
          No LSB modules are available.
          Distributor ID: Raspbian
          Description:    Raspbian GNU/Linux 11 (bullseye)
          Release:        11
          Codename:       bullseye
          
          SyntaxError: Unexpected identifier
              at wrapSafe (internal/modules/cjs/loader.js:986:16)
              at Module._compile (internal/modules/cjs/loader.js:1034:27)
              at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
              at Module.load (internal/modules/cjs/loader.js:935:32)
              at Module._load (internal/modules/cjs/loader.js:776:14)
              at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
              at Module.require (internal/modules/cjs/loader.js:959:19)
              at require (internal/modules/cjs/helpers.js:88:18)
              at loadConfig (/home/pi/MagicMirror/js/app.js:69:14)
              at App.start (/home/pi/MagicMirror/js/app.js:212:3)
          /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
          /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
          /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
          [13.12.2021 21:11.52.510] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: 'linux-armv7' binaries cannot be used on the 'linux-armvdefault' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-armvdefault' platform.
          [13.12.2021 21:11.52.533] [ERROR] App threw an error during load
          [13.12.2021 21:11.52.535] [ERROR] Error: 'linux-armv7' binaries cannot be used on the 'linux-armvdefault' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-armvdefault' platform.
              at Object.hasVendoredLibvips (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/libvips.js:82:13)
              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/constructor.js:7:22)
              at Module._compile (internal/modules/cjs/loader.js:1078:30)
              at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
              at Module.load (internal/modules/cjs/loader.js:935:32)
              at Module._load (internal/modules/cjs/loader.js:776:14)
              at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
              at Module.require (internal/modules/cjs/loader.js:959:19)
              at require (internal/modules/cjs/helpers.js:88:18)
              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/index.js:3:15)
          [13.12.2021 21:11.52.536] [ERROR] Whoops! There was an uncaught exception...
          [13.12.2021 21:11.52.539] [ERROR] Error: 'linux-armv7' binaries cannot be used on the 'linux-armvdefault' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-armvdefault' platform.
              at Object.hasVendoredLibvips (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/libvips.js:82:13)
              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/constructor.js:7:22)
              at Module._compile (internal/modules/cjs/loader.js:1078:30)
              at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
              at Module.load (internal/modules/cjs/loader.js:935:32)
              at Module._load (internal/modules/cjs/loader.js:776:14)
              at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
              at Module.require (internal/modules/cjs/loader.js:959:19)
              at require (internal/modules/cjs/helpers.js:88:18)
              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/index.js:3:15)
          [13.12.2021 21:11.52.540] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
          [13.12.2021 21:11.52.540] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
          
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Brandoney
            last edited by

            @brandoney yes, I saw your report before…

            can u also do

            node -v
            and npm -v

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              Brandoney @sdetweil
              last edited by

              @sdetweil said in MMM-BackgroundSlideshow 'linux-armv7' binaries cannot be used on the "linux-armvdefault platform:

              node -v
              and npm -v

              node -v
              v14.18.2
              pi@raspberrypi:~/MagicMirror/config $ npm -v
              6.14.15

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Brandoney
                last edited by

                @brandoney thx. this looks like a problem with bullseye and node

                here is similar sharp problem
                https://github.com/lovell/sharp/issues/2287

                I don’t know what to do about this

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                karsten13K 1 Reply Last reply Reply Quote 0
                • karsten13K Offline
                  karsten13 @sdetweil
                  last edited by

                  there is already an issue in the github repo

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @karsten13
                    last edited by

                    @karsten13 yes, that is the one I linked to. but it says armv6, not armv7…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    BKeyportB 1 Reply Last reply Reply Quote 0
                    • BKeyportB Offline
                      BKeyport Module Developer @sdetweil
                      last edited by

                      @sdetweil FWIW, I downgraded to buster and it does it there as well, I’ve disabled the module for the short term.

                      The "E" in "Javascript" stands for "Easy"

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @BKeyport
                        last edited by

                        @bkeyport I think one would have to set the parms on install per the sharp doc

                        https://sharp.pixelplumbing.com/install

                        looks like prebuilt binaries are not produced for 32bit os systems (raspi os)

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 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