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.

    Can't start MM as kiosk only server

    Scheduled Pinned Locked Moved Troubleshooting
    13 Posts 4 Posters 4.5k Views 3 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.
    • bheplerB Offline
      bhepler Module Developer
      last edited by

      For starters, please use the markdown features when posting code & logs.
      Secondly, did you take the error message’s advice and run npm rebuild in the MMM-AssistantMk2 folder? Did it help?

      1 Reply Last reply Reply Quote 0
      • W Offline
        Warmyster
        last edited by

        Hi thanks.
        I’ve done npm rebuild and audit fix same error come up. The application launch but only a black screen and I have to Kill the process.

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

          @warmyster said in Can't start MM as kiosk only server:

          App threw an error during load
          Error: Failed to load gRPC binary module because it was not installed for the current system
          Expected directory: electron-v2.0-linux-arm-glibc
          Found: [electron-v4.0-linux-arm-glibc, node-v67-linux-arm-glibc]

          It seems that some module inside MMM-AssistantMk2 is compiled against electron v2.0. If above suggestion does not work I would recommend installing the whole module again. Delete the folder, do a git clone, git pull and npm install again.

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

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

            @warmyster Or try disabling MMM-AssistantMk2 and run MM again.

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

            W 1 Reply Last reply Reply Quote 0
            • W Offline
              Warmyster @lavolp3
              last edited by

              @lavolp3 It works when I don’t include the module. Ill try re installing it again

              1 Reply Last reply Reply Quote 0
              • W Offline
                Warmyster @lavolp3
                last edited by Warmyster

                @lavolp3
                I’ve done a reinstall (deleted the directory and did git clone) and this is what I got after install but still getting the same error

                pi@raspi:~/MagicMirror/modules/MMM-AssistantMk2 $ npm install

                grpc@1.18.0 install /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc
                node-pre-gyp install --fallback-to-build --library=static_library

                node-pre-gyp WARN Using request for node-pre-gyp https download
                [grpc] Success: “/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/node-v67-linux-arm-glibc/grpc_node.node” is installed via remote

                protobufjs@6.8.8 postinstall /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/protobufjs
                node scripts/postinstall

                npm notice created a lockfile as package-lock.json. You should commit this file.
                added 273 packages from 186 contributors and audited 635 packages in 64.238s
                found 0 vulnerabilities

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

                  well… looks good doesn’t it? Should work now.

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

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    Warmyster @lavolp3
                    last edited by

                    @lavolp3
                    NO its giving the same error

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

                      @warmyster if it is still about this module, maybe @Sean can help since it’s his module

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

                      W 1 Reply Last reply Reply Quote 0
                      • W Offline
                        Warmyster @lavolp3
                        last edited by

                        @lavolp3
                        Thanks I got hold of @Sean and he helped me sort if out. Turns out I didnt rebuild the packages correctly :(

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