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 Awesome Alexa installing snowboy.

    Scheduled Pinned Locked Moved Troubleshooting
    44 Posts 4 Posters 9.1k Views 4 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
      Ameyalgudkar
      last edited by

      I’m having the following issue/error after running this command “npm install” trying to install snowboy.
      If anyone has found solutions to this error, please please PLEASE let me know.

      node-pre-gyp ERR! stack at ChildProcess. (/home/pi/MagicMirror/node_modules/snowboy/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)
      node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
      node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      node-pre-gyp ERR! System Linux 5.4.51-v7l+
      node-pre-gyp ERR! command “/usr/bin/node” “/home/pi/MagicMirror/node_modules/snowboy/node_modules/.bin/node-pre-gyp” “install” “–fallback-to-build”
      node-pre-gyp ERR! cwd /home/pi/MagicMirror/node_modules/snowboy
      node-pre-gyp ERR! node -v v10.22.0
      node-pre-gyp ERR! node-pre-gyp -v v0.12.0
      node-pre-gyp ERR! not ok
      Failed to execute ‘/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/MagicMirror/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/MagicMirror/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64’ (1)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! snowboy@1.3.1 install: node-pre-gyp install --fallback-to-build
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the snowboy@1.3.1 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/2020-09-11T13_22_25_913Z-debug.log

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

        @Ameyalgudkar there is a multi-step procedure in the AwesomeAlexa README.md file for install, you have to follow that

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Ameyalgudkar @sdetweil
          last edited by

          @sdetweil I did follow all the steps, and now I am getting stuck at this npm install step for installing dependencies. namely “snowboy” which is required for the hotword recognition.

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

            @Ameyalgudkar these steps, right?

            https://awesome-alexa.js.org/#/installation,
            Step 2. Install Module
            Screenshot at 2020-09-11 09-35-31.png

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Ameyalgudkar @sdetweil
              last edited by

              @sdetweil yes those steps.
              The one I am referring to is 4th to last.

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

                @Ameyalgudkar said in MMM Awesome Alexa installing snowboy.:

                5.4.51-v7l+

                are u trying to install on 64bit RaspiOS?

                my PI’s are running kernel 4.19 on 32bit raspiOS

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                A 2 Replies Last reply Reply Quote 0
                • A Offline
                  Ameyalgudkar @sdetweil
                  last edited by

                  @sdetweil I believe I’m on 5.4.51 kernel but not sure if that’s the one. and don’t know if 32/64 bit.

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

                    @Ameyalgudkar no idea if it will work

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Ameyalgudkar @sdetweil
                      last edited by

                      @sdetweil Screenshot 2020-09-11 202939.png

                      there.
                      and if there’s a way to run it on 4.19 then how do I downgrade?

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

                        @Ameyalgudkar no idea… i see the latest images are all at kernel 5.4

                        https://www.raspberrypi.org/downloads/raspberry-pi-os/

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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