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

build MMM-AssistantMk2 Rebuild Failed

Scheduled Pinned Locked Moved Unsolved Troubleshooting
10 Posts 3 Posters 1.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.
  • S Offline
    sdetweil @marion001
    last edited by Oct 4, 2019, 3:34 AM

    @marion001 see the issue here

    https://github.com/grpc/grpc-node/issues/1057

    need to downlevel gprc

    do

    cd ~/MagicMirror
    npm uninstall gprc
    npm install gpc@1.23.3
    npm install
    maybe electron-rebuild
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply Oct 4, 2019, 10:34 AM Reply Quote 0
    • M Offline
      marion001 @sdetweil
      last edited by marion001 Oct 4, 2019, 10:35 AM Oct 4, 2019, 10:34 AM

      @sdetweil

      thank you! I have followed you to downgrade grpc to version 1.23.3 and build successfully

      cd ~/MagicMirror/modules
      sudo rm -rf MMM-AssistantMk2/
      git clone https://github.com/eouia/MMM-AssistantMk2.git
      cd MMM-AssistantMk2
      sudo npm uninstall grpc
      sudo npm install sudo npm install grpc@1.23.3
      sudo npm install --save-dev electron-rebuild
      sudo npm install
      sudo ./node_modules/.bin/electron-rebuild

      S H 2 Replies Last reply Oct 4, 2019, 11:49 AM Reply Quote 0
      • S Offline
        sdetweil @marion001
        last edited by sdetweil Oct 4, 2019, 12:30 PM Oct 4, 2019, 11:49 AM

        @marion001 great… but you should NOT use sudo

        so, can u fix the sudo problem, so u don’t use sudo anymore

        ~/MagicMirror
        sudo chown -R ???? ~/.npm
        sudo chown -R ???? ./
        

        where ??? is the current userid , most likely pi
        but you can get the userid from the command

        whoami
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Oct 4, 2019, 12:40 PM Reply Quote 0
        • M Offline
          marion001 @sdetweil
          last edited by marion001 Oct 4, 2019, 12:42 PM Oct 4, 2019, 12:40 PM

          @sdetweil

          I installed the magicmirror on androibox which has flash room armbian, I installed on the user should use sudo for full rights

          pi@MagicMirror: ~ $ id
          uid = 1000 (pi) gid = 1000 (pi) groups = 1000 (pi), 5 (tty), 6 (disk), 20 (dialout), 27 (sudo), 29 (audio), 44 (video), 46 (plugdev), 60 (games), 100 (users), 101 (systemd-journal), 104 (input), 108 (netdev), 111 (ssh), 112 (bluetooth)

          pi@MagicMirror: ~ $ whoami
          pi

          pi@MagicMirror:~$ uname -a
          Linux MagicMirror 5.1.15-aml-s905 #5.91 SMP PREEMPT Wed Jul 10 15:44:57 MSK 2019 aarch64 aarch64 aarch64 GNU/Linux

          S 1 Reply Last reply Oct 4, 2019, 12:42 PM Reply Quote 0
          • S Offline
            sdetweil @marion001
            last edited by Oct 4, 2019, 12:42 PM

            @marion001 said in build MMM-AssistantMk2 Rebuild Failed:

            I installed on the user should use sudo for full rights

            but the user pi doesn’t need root to run MagicMirror
            next time you install a module, and don’t use sudo, things will break…

            best to fix it now…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Oct 4, 2019, 12:51 PM Reply Quote 0
            • M Offline
              marion001 @sdetweil
              last edited by Oct 4, 2019, 12:51 PM

              @sdetweil

              Yes, I’ll fix it next time, thank you. (Y)

              S 1 Reply Last reply Oct 4, 2019, 12:52 PM Reply Quote 0
              • S Offline
                sdetweil @marion001
                last edited by Oct 4, 2019, 12:52 PM

                @marion001 cool… can u mark this issue resolved? 3 dots to the right of the message

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • H Offline
                  harrycool25 @marion001
                  last edited by Nov 11, 2019, 1:31 AM

                  @marion001 Uhhhhhh… I followed your steps to rebuild the thing in order for the module to work, but now it’s stuck at ‘Building module: grpc, Completed: 0’, and stays like that forever until I cancel the procedure with Ctrl+C. How can I resolve this? I really want Google Assistant to work but this is a hindrance that I want to remove.

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    harrycool25
                    last edited by Nov 11, 2019, 3:10 AM

                    @marion001 Uhhhhhh… I followed your steps to rebuild the thing in order for the module to work, but now it’s stuck at ‘Building module: grpc, Completed: 0’, and stays like that forever until I cancel the procedure with Ctrl+C. How can I resolve this? I really want Google Assistant to work but this is a hindrance that I want to remove.

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