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-AssistantMk2

    Scheduled Pinned Locked Moved System
    421 Posts 61 Posters 630.7k Views 57 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.
    • A Offline
      aunrea @aunrea
      last edited by

      I just realized I forgot to reactivate the module. I quoted it out. Now it runs fine. I don’t know what was the issue before.

      1 Reply Last reply Reply Quote 0
      • R Offline
        raedonlpa
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • O Offline
          otto
          last edited by

          i just what to check so if this is right or wrong before i try it:S

          https://pastebin.com/m4d4nhJH

          on line 20 i get this: ‘arrow function syntax (=>)’ is only available in ES6 (use ‘esversion: 6’).

          on line 21 i get this: Missing semicolon.

          is this anyting i need to change?

          O S 2 Replies Last reply Reply Quote 0
          • O Offline
            otto @otto
            last edited by

            @otto said in MMM-AssistantMk2:

            i just what to check so if this is right or wrong before i try it:S

            https://pastebin.com/m4d4nhJH

            on line 20 i get this: ‘arrow function syntax (=>)’ is only available in ES6 (use ‘esversion: 6’).

            on line 21 i get this: Missing semicolon.

            is this anyting i need to change?

            i got this when i was trying to start it:

            WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary module because it was not installed for the current system
            Expected directory: electron-v3.1-linux-arm-glibc
            Found: [node-v64-linux-arm-glibc]
            This problem can often be fixed by running “npm rebuild” on the current system
            Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.1-linux-arm-glibc/grpc_node.node’

            S ? 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @otto
              last edited by

              @otto your node version is downlevel…

              please do

              node -v
              

              and

              npm -v
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @otto after u fix the node problem above, then redo the npm install in the module folder…
                if there are still issues, then see the module installation instructions for the steps to resolve this problem

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • O Offline
                  otto @sdetweil
                  last edited by

                  @sdetweil said in MMM-AssistantMk2:

                  node -v

                  node:v10.16.3

                  npm -V 6.11.2

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @otto
                    last edited by

                    @otto said in MMM-AssistantMk2:

                    WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary module because it was not installed for the current system
                    Expected directory: electron-v3.1-linux-arm-glibc
                    Found: [node-v64-linux-arm-glibc]

                    This message means you’ve missed/failed electron-rebuild step. read the docs and do that step again carefully.

                    O 1 Reply Last reply Reply Quote 0
                    • O Offline
                      otto @Guest
                      last edited by

                      @Sean do i need to reinstall it all, or can i just jump to electron-rebuild ?

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @otto
                        last edited by

                        @otto
                        I think if there is no other issue, just doing electron-rebuild be enough.

                        O 1 Reply Last reply Reply Quote 0
                        • O Offline
                          otto @Guest
                          last edited by otto

                          @Sean
                          just to be sure i havent miss understanding the guide,
                          sudo apt-get install gcc-5 #or gcc-7 what sholde i have 5 or 7 i am running the latest Raspbian Buster 2019-07-10

                          ? 2 Replies Last reply Reply Quote 0
                          • ? Offline
                            A Former User @otto
                            last edited by A Former User

                            @otto
                            Raspbian Buster has gcc8 as default. Unfortunately with gcc8, grpc wouldn’t be compiled easily. so You need to downgrade to gcc7

                            1 Reply Last reply Reply Quote 0
                            • ? Offline
                              A Former User @otto
                              last edited by

                              @otto

                              sudo apt-get install gcc-7
                              sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 10
                              sudo update-alternatives --config gcc
                              

                              This may work to change current gcc version to 7.

                              O 1 Reply Last reply Reply Quote 0
                              • O Offline
                                otto @Guest
                                last edited by

                                @Sean

                                pi@raspberrypi:~ $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 10
                                pi@raspberrypi:~ $ sudo update-alternatives --config gcc
                                There is only one option in the gcc link group (provides / usr / bin / gcc): / usr / bin / gcc-7
                                Nothing to configure.

                                i using google translate

                                ? 1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User @otto
                                  last edited by A Former User

                                  @otto
                                  In that case your gcc be version 7. check it with gcc -v (You probably downgraded global gcc to 7 already)

                                  O 1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    otto @Guest
                                    last edited by otto

                                    @Sean said in MMM-AssistantMk2:

                                    gcc -v

                                    gcc version 7.3.0 (Raspbian 7.3.0-19) then i guess ist just electron-rebuild left to do

                                    ? 1 Reply Last reply Reply Quote 0
                                    • ? Offline
                                      A Former User @otto
                                      last edited by

                                      @otto said in MMM-AssistantMk2:

                                      gcc version 7.3.0 (Raspbian 7.3.0-19) then i guess ist just electron-rebuild left to do

                                      right. jump to adventure. :D

                                      O 1 Reply Last reply Reply Quote 0
                                      • O Offline
                                        otto @Guest
                                        last edited by

                                        @Sean yepp i hope this will go better then last time, i was trying

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @otto
                                          last edited by

                                          @otto
                                          It will take 10~30 minutes to complete. Keep the power and network connection during rebuilding. Wish you a good luck!

                                          O 1 Reply Last reply Reply Quote 0
                                          • O Offline
                                            otto @Guest
                                            last edited by

                                            @Sean works lika a charm,
                                            2 thing i whant to make changes on.

                                            1. hava a other word like mirror mirror on the wall to activiet it
                                            2. Now i have 2 icon in the top corner, on is flasing, gussing its looking for word to activet. can i hide them?
                                            ? 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
                                            • 3
                                            • 4
                                            • 5
                                            • 21
                                            • 22
                                            • 1 / 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