Solved When i start nothing shows up
-
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. -
Hi, can you follow wiki instructions ?
- For a rpi 4
- For a rpi 3b+ or less
-
Hi, i followed all the steps… And um not using a raspberry, I’m using a PC with Linux.
-
ok, and what’s the error on start ?
-
When i start MM i dont get any error… only a black screen… thats what’s weird.
-
Hi, Can you past console output from start ?
-
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’ -
Can you try
npm install
inside GA directory and past result ? -
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! (Usenode --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 oknpm 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 -
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
- node v16.x don’t like npm
-
Thanks but how do i do that? sorry if its to obvious but im new at this…
-
Take a look there
-
This post is deleted! -
This post is deleted! -
Ok now it starts, thx for the help.
-
This post is deleted! -
Sorry if im beeign ennoying, but how do i put my mic to work?
-
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
-
This post is deleted! -
Its running perfectly, thx for the help. but how can i make it interact with other modules like spotify and mmm screencast?