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

Error when trying to run MMM-AssistantMk2

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 5 Posters 3.1k Views 5 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.
  • I Offline
    INMD1
    last edited by broberg Oct 24, 2019, 8:59 AM Oct 24, 2019, 5:42 AM

    [AMK2] assistant ready
    /home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node: undefined symbol: __atomic_store_8
    npm ERR! code ELIFECYCLE
    npm ERR! syscall spawn
    npm ERR! file sh
    npm ERR! errno ENOENT
    npm ERR! magicmirror@2.9.0 start: `sh run-start.sh`
    npm ERR! spawn ENOENT
    npm ERR! 
    npm ERR! Failed at the magicmirror@2.9.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2019-10-24T05_25_04_096Z-debug.log
    

    I am trying to install mmm-hotword, MMM-AssistantMk2 to make Magic Mirror today, but I am having an error. What’s the cause?

    S 1 Reply Last reply Oct 24, 2019, 11:31 AM Reply Quote 0
    • S Away
      sdetweil @INMD1
      last edited by Oct 24, 2019, 11:31 AM

      @INMD1 you need to follow the rest of the installation steps, which cover errors like this,

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • W Offline
        waseemghaly
        last edited by Oct 25, 2019, 6:08 AM

        @sdetweil I have followed all the steps in the installation guide and still getting the same error as @INMD1 please let me know if there is a certain set of instructions that needs to be followed. Thank you

        S 1 Reply Last reply Oct 25, 2019, 10:15 AM Reply Quote 0
        • S Away
          sdetweil @waseemghaly
          last edited by Oct 25, 2019, 10:15 AM

          @waseemghaly @INMD1 we will neeed to wait for @Sean to help, he is the module author

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by A Former User Oct 25, 2019, 2:40 PM Oct 25, 2019, 2:31 PM

            Well. I’m not sure because, someone still has this issue despite my instruction in github. But I tested and got success today. So I hope this working for you.

            Reason

            • grpc(which is an essential program to use Google Assistant SDK) installed by npm install in the shell is not compatible with electron of MagicMirror on runtime. Because electron has its own JS engine and it is different with your global level environments. That is why rebuild of grpc for electron is needed.
            • Unfortunately, some last newgrpc versions might have some bug on rebuilding for specific electron. As far as I know, grpc@1.24.0 has one, and grpc@1.24.1 has also (grpc team says it was fixed, but I found another bug on 1.24.1)

            Solution
            In Raspbian Buster / RPI 4B+ I’ve tested.

            1. Check your gcc version. If > = 8, downgrade it to 7.
            sudo apt-get install gcc-7
            gcc -v
            

            It should say gcc version 7.3.0 (Raspbian 7.30-19) or something similar ( < = 7 )
            If not done well, google it how to downgrade your gcc.

            1. then do this; (I’ll assume you’ve already tried npm install on your previous installation step)
            cd ~/MagicMirror/modules/MMM-AssistantMk2
            npm install grpc@1.23.4
            npm install --save-dev electron-rebuild
            ./node_modules/.bin/electron-rebuild
            

            It will take 30 minutes ~ 1 hour. Don’t power off or stop it.

            If not done well… Sorry, I cannot help.
            At this moment, this is one and only way to work properly.
            In my RPI4B+(Raspbian) / Mac (Catalina) / Jetson Nano (Ubuntu 18.04) / Khadas Edge-V (Armbian Buster) / Asus Tinkerboard (TinkerOS), worked today.

            C 1 Reply Last reply Feb 10, 2021, 11:34 AM Reply Quote 0
            • W Offline
              waseemghaly
              last edited by Oct 28, 2019, 7:42 AM

              Issue solved here: https://github.com/eouia/MMM-AssistantMk2/issues/231

              1 Reply Last reply Reply Quote 0
              • C Offline
                Chethan @Guest
                last edited by Chethan Feb 10, 2021, 12:08 PM Feb 10, 2021, 11:34 AM

                @sean please help me still am getting this error i hope you will give the solution
                npm ERR! code ELIFECYCLE
                npm ERR! errno 255
                npm ERR! @bugsounet/snowboy@2.0.5 install: bash scripts/installer.sh
                npm ERR! Exit status 255
                npm ERR!
                npm ERR! Failed at the @bugsounet/snowboy@2.0.5 install script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/pi/.npm/_logs/2021-02-10T11_13_15_758Z-debug.log

                S 1 Reply Last reply Feb 10, 2021, 12:17 PM Reply Quote 0
                • S Away
                  sdetweil @Chethan
                  last edited by Feb 10, 2021, 12:17 PM

                  @chethan snowboy 2.5 is very old. this module (mk2) has been abandonded, and replaced by MMM-GoogleAssistant, whos author has left the forum.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Feb 10, 2021, 1:27 PM Reply Quote 0
                  • C Offline
                    Chethan @sdetweil
                    last edited by Feb 10, 2021, 1:27 PM

                    @sdetweil @sdetweil can you please tell me which one should I install or use give me a link plz and I use last time in the 2020-08-20 on that time i use raspberry pi that time it’s working now it’s not working

                    S 1 Reply Last reply Feb 10, 2021, 3:41 PM Reply Quote 0
                    • S Away
                      sdetweil @Chethan
                      last edited by sdetweil Feb 10, 2021, 3:42 PM Feb 10, 2021, 3:41 PM

                      @chethan i do not have an answer

                      mk2 will not work
                      mmm-googleassistant may not work due to snowboy issues. snowboy has also been abandonded

                      https://github.com/Kitt-AI/snowboy/

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      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