Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Solved When i start nothing shows up

    Issues
    2
    22
    123
    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.
    • K
      kikosilva17 last edited by

      Hi, i am having this annoying issue with this module that when i try to run it none of the module appear and i only see a black screen. what can i do to make it work?
      Thanks.

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        Hi, can you follow wiki instructions ?

        • For a rpi 4
        • For a rpi 3b+ or less
        1 Reply Last reply Reply Quote 0
        • K
          kikosilva17 last edited by

          Hi, i followed all the steps… And um not using a raspberry, I’m using a PC with Linux.

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by

            ok, and what’s the error on start ?

            1 Reply Last reply Reply Quote 0
            • K
              kikosilva17 last edited by

              When i start MM i dont get any error… only a black screen… thats what’s weird.

              1 Reply Last reply Reply Quote 0
              • bugsounet
                bugsounet Main Coder last edited by

                Hi, Can you past console output from start ?

                1 Reply Last reply Reply Quote 0
                • K
                  kikosilva17 last edited by kikosilva17

                  This is the only error that appears in the terminal when i start MM.

                  [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘@bugsounet/google-assistant’
                  Require stack:

                  • /home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/components/assistant.js
                  • /home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_helper.js
                  • /home/kikosilva17/MagicMirror/js/app.js
                  • /home/kikosilva17/MagicMirror/js/electron.js
                  • /home/kikosilva17/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

                  Also this:

                  [ERROR] App threw an error during load
                  [ERROR] Error: Cannot find module ‘@bugsounet/google-assistant’

                  1 Reply Last reply Reply Quote 0
                  • bugsounet
                    bugsounet Main Coder last edited by

                    Can you try npm install inside GA directory and past result ?

                    1 Reply Last reply Reply Quote 0
                    • K
                      kikosilva17 last edited by

                      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                      npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
                      npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
                      npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
                      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                      npm ERR! code 1
                      npm ERR! path /home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/usb
                      npm ERR! command failed
                      npm ERR! command sh -c prebuild-install --runtime napi --target 4 --verbose || node-gyp rebuild
                      npm ERR! make: a entrar na pasta “/home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/usb/build”
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/core.o
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/io.o
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
                      npm ERR! CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
                      npm ERR! make: a sair da pasta “/home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/usb/build”
                      npm ERR! prebuild-install info begin Prebuild-install version 5.3.6
                      npm ERR! prebuild-install info install installing standalone, skipping download.
                      npm ERR! gyp info it worked if it ends with ok
                      npm ERR! gyp info using node-gyp@7.1.2
                      npm ERR! gyp info using node@16.13.2 | linux | x64
                      npm ERR! gyp info find Python using Python version 3.9.2 found at “/usr/bin/python3”
                      npm ERR! (node:6328) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
                      npm ERR! (Use node --trace-deprecation ... to show where the warning was created)
                      npm ERR! gyp info spawn /usr/bin/python3
                      npm ERR! gyp info spawn args [
                      npm ERR! gyp info spawn args ‘/home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-gyp/gyp/gyp_main.py’,
                      npm ERR! gyp info spawn args ‘binding.gyp’,
                      npm ERR! gyp info spawn args ‘-f’,
                      npm ERR! gyp info spawn args ‘make’,
                      npm ERR! gyp info spawn args ‘-I’,
                      npm ERR! gyp info spawn args ‘/home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/usb/build/config.gypi’,
                      npm ERR! gyp info spawn args ‘-I’,
                      npm ERR! gyp info spawn args ‘/home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-gyp/addon.gypi’,
                      npm ERR! gyp info spawn args ‘-I’,
                      npm ERR! gyp info spawn args ‘/home/kikosilva17/.cache/node-gyp/16.13.2/include/node/common.gypi’,
                      npm ERR! gyp info spawn args ‘-Dlibrary=shared_library’,
                      npm ERR! gyp info spawn args ‘-Dvisibility=default’,
                      npm ERR! gyp info spawn args ‘-Dnode_root_dir=/home/kikosilva17/.cache/node-gyp/16.13.2’,
                      npm ERR! gyp info spawn args ‘-Dnode_gyp_dir=/home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-gyp’,
                      npm ERR! gyp info spawn args ‘-Dnode_lib_file=/home/kikosilva17/.cache/node-gyp/16.13.2/<(target_arch)/node.lib’,
                      npm ERR! gyp info spawn args ‘-Dmodule_root_dir=/home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/usb’,
                      npm ERR! gyp info spawn args ‘-Dnode_engine=v8’,
                      npm ERR! gyp info spawn args ‘–depth=.’,
                      npm ERR! gyp info spawn args ‘–no-parallel’,
                      npm ERR! gyp info spawn args ‘–generator-output’,
                      npm ERR! gyp info spawn args ‘build’,
                      npm ERR! gyp info spawn args ‘-Goutput_dir=.’
                      npm ERR! gyp info spawn args ]
                      npm ERR! gyp info spawn make
                      npm ERR! gyp info spawn args [ ‘BUILDTYPE=Release’, ‘-C’, ‘build’ ]
                      npm ERR! …/libusb/libusb/os/linux_udev.c:40:10: fatal error: libudev.h: Ficheiro ou pasta inexistente
                      npm ERR! 40 | #include <libudev.h>
                      npm ERR! | ^~~~~~~~~~~
                      npm ERR! compilation terminated.
                      npm ERR! make: *** [libusb.target.mk:152: Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Erro 1
                      npm ERR! gyp ERR! build error
                      npm ERR! gyp ERR! stack Error: make failed with exit code: 2
                      npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-gyp/lib/build.js:194:23)
                      npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
                      npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
                      npm ERR! gyp ERR! System Linux 5.10.0-9-amd64
                      npm ERR! gyp ERR! command “/usr/bin/node” “/home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/.bin/node-gyp” “rebuild”
                      npm ERR! gyp ERR! cwd /home/kikosilva17/MagicMirror/modules/MMM-GoogleAssistant/node_modules/usb
                      npm ERR! gyp ERR! node -v v16.13.2
                      npm ERR! gyp ERR! node-gyp -v v7.1.2
                      npm ERR! gyp ERR! not ok

                      npm ERR! A complete log of this run can be found in:
                      npm ERR! /home/kikosilva17/.npm/_logs/2022-02-07T19_59_38_661Z-debug.log

                      1 Reply Last reply Reply Quote 0
                      • bugsounet
                        bugsounet Main Coder last edited by

                        can you retry with node v14.x (and npm v6.14.16)

                        Actually:

                        • node v16.x don’t like npm usb library
                        • npm >6 is not a pretty installer for MM

                        Note: node v14 will install npm v6 by default

                        1 Reply Last reply Reply Quote 0
                        • K
                          kikosilva17 last edited by

                          Thanks but how do i do that? sorry if its to obvious but im new at this…

                          1 Reply Last reply Reply Quote 0
                          • bugsounet
                            bugsounet Main Coder last edited by

                            Take a look there

                            1 Reply Last reply Reply Quote 0
                            • K
                              kikosilva17 last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • K
                                kikosilva17 last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • K
                                  kikosilva17 last edited by

                                  Ok now it starts, thx for the help.

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    kikosilva17 last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      kikosilva17 last edited by

                                      Sorry if im beeign ennoying, but how do i put my mic to work?

                                      1 Reply Last reply Reply Quote 0
                                      • bugsounet
                                        bugsounet Main Coder last edited by bugsounet

                                        I don’t really understand ? for activate GA ?

                                        just says “Ok google, Hey google, Jarvis”, it’s depend what you have configured

                                        I think pre-require of wiki can help 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kikosilva17 last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            kikosilva17 last edited by

                                            Its running perfectly, thx for the help. but how can i make it interact with other modules like spotify and mmm screencast?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB | @bugsounet ©2022