thank you guys for your patience. I updated GoogleAssistant, but get more alerts when running magic mirror and the error about music player is still there. I am thinking about to do it from the scratch. I mean I will install a pure clean rasbian system install magic mirror. And then the first module I install would be EXT-MusicPlayer to see if it works. how do you think about the idea
Latest posts made by risingsun6
-
RE: EXT-Music player does not work
-
RE: EXT-Music player does not work
After stash, googel assistant stopped working
-
RE: EXT-Music player does not work
I got this when I update MM2
git pull
Updating 118e2123…5ea8a346
error: Your local changes to the following files would be overwritten by merge:
package.json
Please commit your changes or stash them before you merge.
Aborting -
RE: EXT-Music player does not work
[13.04.2024 17:49.47.299] [WARN] [33mYou're using a full whitelist configuration to allow for all IPs[39m [14054:0413/174948.942374:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.942933:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.943806:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.946693:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.947575:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.948330:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.948910:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.951940:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.952321:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.953413:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.953802:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.954847:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.955514:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [14054:0413/174948.956008:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [13.04.2024 17:49.57.652] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 17:49.57.660] [ERROR] Error: write EFAULT at afterWriteDispatched (node:internal/stream_base_commons:160:15) at writeGeneric (node:internal/stream_base_commons:151:3) at Socket._writeGeneric (node:net:931:11) at Socket._write (node:net:943:8) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at Socket.write (node:internal/streams/writable:337:10) at r.write (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/components/hyperwatch.js:6:543) at execSync (node:child_process:981:20) at node:electron/js2c/asar_bundle:2:12708 at getFQDN (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/systeminformation/lib/osinfo.js:171:22) at /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/systeminformation/lib/osinfo.js:219:15 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { errno: -14, code: 'EFAULT', syscall: 'write' } [13.04.2024 17:49.57.661] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 17:49.57.661] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [13.04.2024 17:49.58.296] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 17:49.58.297] [ERROR] Error: write EFAULT at afterWriteDispatched (node:internal/stream_base_commons:160:15) at writeGeneric (node:internal/stream_base_commons:151:3) at Socket._writeGeneric (node:net:931:11) at Socket._write (node:net:943:8) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at Socket.write (node:internal/streams/writable:337:10) at r.write (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/components/hyperwatch.js:6:543) at execSync (node:child_process:981:20) at node:electron/js2c/asar_bundle:2:12708 at /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/systeminformation/lib/system.js:64:21 at ChildProcess.exithandler (node:child_process:422:7) at ChildProcess.emit (node:events:514:28) at maybeClose (node:internal/child_process:1091:16) at Socket.<anonymous> (node:internal/child_process:449:11) at Socket.emit (node:events:514:28) { errno: -14, code: 'EFAULT', syscall: 'write' } [13.04.2024 17:49.58.298] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 17:49.58.300] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [13.04.2024 17:49.58.350] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 17:49.58.367] [ERROR] Error: write EFAULT at afterWriteDispatched (node:internal/stream_base_commons:160:15) at writeGeneric (node:internal/stream_base_commons:151:3) at Socket._writeGeneric (node:net:931:11) at Socket._write (node:net:943:8) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at Socket.write (node:internal/streams/writable:337:10) at r.write (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/components/hyperwatch.js:6:543) at execSync (node:child_process:981:20) at node:electron/js2c/asar_bundle:2:12708 at Object.getCodepage (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/systeminformation/lib/util.js:576:24) at /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/systeminformation/lib/osinfo.js:260:34 at ChildProcess.exithandler (node:child_process:438:5) at ChildProcess.emit (node:events:514:28) at maybeClose (node:internal/child_process:1091:16) at Socket.<anonymous> (node:internal/child_process:449:11) { errno: -14, code: 'EFAULT', syscall: 'write' } [13.04.2024 17:49.58.368] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 17:49.58.371] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [13.04.2024 17:49.58.692] [ERROR] [MUSIC] ./components/playerLib.js Loading error! Error: Cannot find module 'drivelist' Require stack: - /home/pi/MagicMirror/modules/EXT-MusicPlayer/components/playerLib.js - /home/pi/MagicMirror/modules/EXT-MusicPlayer/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at node:internal/modules/cjs/loader:1084:15 at Function.<anonymous> (node:electron/js2c/browser_init:2:116646) at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at node:internal/modules/cjs/loader:929:27 at Function._load (node:electron/js2c/asar_bundle:2:13327) at Module.require (node:internal/modules/cjs/loader:1150:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/EXT-MusicPlayer/components/playerLib.js:4:16) at Module._compile (node:internal/modules/cjs/loader:1271:14) at Object..js (node:internal/modules/cjs/loader:1326:10) at Module.load (node:internal/modules/cjs/loader:1126:32) at node:internal/modules/cjs/loader:967:12 at Function._load (node:electron/js2c/asar_bundle:2:13327) at Module.require (node:internal/modules/cjs/loader:1150:19) at require (node:internal/modules/cjs/helpers:121:18) at /home/pi/MagicMirror/modules/EXT-MusicPlayer/node_helper.js:95:39 { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/EXT-MusicPlayer/components/playerLib.js', '/home/pi/MagicMirror/modules/EXT-MusicPlayer/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', undefined ] } [13.04.2024 17:49.59.843] [ERROR] [MUSIC] Warning: 1 @bugsounet library not loaded ! [13.04.2024 17:49.59.844] [ERROR] [MUSIC] Try to solve it with `npm run rebuild` in EXT-MusicPlayer directory [13.04.2024 17:50.01.512] [WARN] [GA] WARN: You are using default username or default password [13.04.2024 17:50.01.513] [WARN] [GA] WARN: Don't forget to change it! [13.04.2024 17:50.01.622] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 17:50.01.623] [ERROR] Error: write EFAULT at afterWriteDispatched (node:internal/stream_base_commons:160:15) at writeGeneric (node:internal/stream_base_commons:151:3) at Socket._writeGeneric (node:net:931:11) at Socket._write (node:net:943:8) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at Socket.write (node:internal/streams/writable:337:10) at r.write (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/components/hyperwatch.js:6:543) at execSync (node:child_process:981:20) at node:electron/js2c/asar_bundle:2:12708 at getDefaultNetworkInterface (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/systeminformation/lib/network.js:94:20) at /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/systeminformation/lib/network.js:200:20 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { errno: -14, code: 'EFAULT', syscall: 'write' } [13.04.2024 17:50.01.623] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 17:50.01.623] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [13.04.2024 17:50.03.057] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 17:50.03.058] [ERROR] Error: write EFAULT at afterWriteDispatched (node:internal/stream_base_commons:160:15) at writeGeneric (node:internal/stream_base_commons:151:3) at Socket._writeGeneric (node:net:931:11) at Socket._write (node:net:943:8) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at Socket.write (node:internal/streams/writable:337:10) at r.write (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/components/hyperwatch.js:6:543) at execSync (node:child_process:981:20) at node:electron/js2c/asar_bundle:2:12708 at getLinuxDHCPNics (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/systeminformation/lib/network.js:553:19) at /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/systeminformation/lib/network.js:800:23 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) { errno: -14, code: 'EFAULT', syscall: 'write' } [13.04.2024 17:50.03.059] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 17:50.03.059] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
RE: EXT-Music player does not work
> EXT-MusicPlayer@1.3.2 rebuild /home/pi/MagicMirror/modules/EXT-MusicPlayer > installer/rebuild.sh Welcome to EXT-MusicPlayer v1.3.2 rebuild script This script will erase current build and reinstall it Do you want to continue ? [Y/n] Your choice: y Deleting: package-lock.json node_modules Done. Updating... HEAD is now at 87e4c32 v1.3.2 Already up to date. Done Reinstalling... > EXT-MusicPlayer@1.3.2 preinstall /home/pi/MagicMirror/modules/EXT-MusicPlayer > installer/preinstall.sh -d 'libudev-dev' Welcome to EXT-MusicPlayer v1.3.2 No root checking... Checking EXT-MusicPlayer: pi/pi Checking MagicMirror: pi/pi Checking OS... OS Detected: linux-gnu (debian 12 aarch64) Checking all dependencies... All Dependencies needed are installed ! > drivelist@11.2.2 install /home/pi/MagicMirror/modules/EXT-MusicPlayer/node_modules/drivelist > prebuild-install --runtime napi || node-gyp rebuild (node:13684) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. (Use `node --trace-deprecation ...` to show where the warning was created) Traceback (most recent call last): File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 50, in <module> sys.exit(gyp.script_main()) ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main return main(sys.argv[1:]) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main return gyp_main(args) ^^^^^^^^^^^^^^ File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 520, in gyp_main [generator, flat_list, targets, data] = Load( ^^^^^ File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 136, in Load result = gyp.input.Load(build_files, default_variables, includes[:], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2782, in Load LoadTargetBuildFile(build_file, data, aux_data, File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 391, in LoadTargetBuildFile build_file_data = LoadOneBuildFile(build_file_path, data, aux_data, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 234, in LoadOneBuildFile build_file_contents = open(build_file_path, 'rU').read() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid mode: 'rU' while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (node:events:517:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12) gyp ERR! System Linux 6.6.20+rpt-rpi-v8 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/pi/MagicMirror/modules/EXT-MusicPlayer/node_modules/drivelist gyp ERR! node -v v18.19.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! drivelist@11.2.2 install: `prebuild-install --runtime napi || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the drivelist@11.2.2 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/2024-04-13T09_41_56_159Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! EXT-MusicPlayer@1.3.2 rebuild: `installer/rebuild.sh` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the EXT-MusicPlayer@1.3.2 rebuild 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/2024-04-13T09_41_56_384Z-debug.log pi@raspberrypi:~/MagicMirror/modules/EXT-MusicPlayer $
-
RE: EXT-Music player does not work
Where can I find terminal output ? I am on Raspberry Pi
Thanks you
-
RE: EXT-Music player does not work
this is given when I was executing npm run rebuild
-
RE: EXT-Music player does not work
0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'rebuild' ] 2 info using npm@6.14.15 3 info using node@v18.19.1 4 verbose run-script [ 'prerebuild', 'rebuild', 'postrebuild' ] 5 info lifecycle EXT-MusicPlayer@1.3.1~prerebuild: EXT-MusicPlayer@1.3.1 6 info lifecycle EXT-MusicPlayer@1.3.1~rebuild: EXT-MusicPlayer@1.3.1 7 verbose lifecycle EXT-MusicPlayer@1.3.1~rebuild: unsafe-perm in lifecycle true 8 verbose lifecycle EXT-MusicPlayer@1.3.1~rebuild: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/modules/EXT-MusicPlayer/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games 9 verbose lifecycle EXT-MusicPlayer@1.3.1~rebuild: CWD: /home/pi/MagicMirror/modules/EXT-MusicPlayer 10 silly lifecycle EXT-MusicPlayer@1.3.1~rebuild: Args: [ '-c', 'installer/rebuild.sh' ] 11 silly lifecycle EXT-MusicPlayer@1.3.1~rebuild: Returned: code: 1 signal: null 12 info lifecycle EXT-MusicPlayer@1.3.1~rebuild: Failed to exec rebuild script 13 verbose stack Error: EXT-MusicPlayer@1.3.1 rebuild: `installer/rebuild.sh` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 13 verbose stack at EventEmitter.emit (node:events:517:28) 13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (node:events:517:28) 13 verbose stack at maybeClose (node:internal/child_process:1098:16) 13 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:303:5) 14 verbose pkgid EXT-MusicPlayer@1.3.1 15 verbose cwd /home/pi/MagicMirror/modules/EXT-MusicPlayer 16 verbose Linux 6.6.20+rpt-rpi-v8 17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "rebuild" 18 verbose node v18.19.1 19 verbose npm v6.14.15 20 error code ELIFECYCLE 21 error errno 1 22 error EXT-MusicPlayer@1.3.1 rebuild: `installer/rebuild.sh` 22 error Exit status 1 23 error Failed at the EXT-MusicPlayer@1.3.1 rebuild script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]
-
RE: EXT-Music player does not work
I just capture the alert I got from EXT-Alert.
1.Error when loading undefined. Try to solve it with “npm run rebuild” in EXT-MusicPlayer directory --EXT-MusicPlayer
2.Error: No porcupineAccessKey Provided in config --EXT-detector
3.Error:cannot start Procupine detector --EXT-Detector -
RE: EXT-Music player does not work
EXT-Alert installed.
[ERROR] [MUSIC] Try to solve it with npm run rebuild in EXT-MusicPlayer directory Tested
[ERROR] [GA] [RECIPES] LOADING ERROR: …/…/EXT-YouTube/recipe/EXT-YouTube.js
[ERROR] Gateway is not needed with MMM-GoogleAssistant v6 Corrected
[ERROR] [GA] [RECIPES] LOADING ERROR: …/…/EXT-YouTube/recipe/EXT-YouTube.js recipe line deleted from GA configThanks again for your time. It’s weekend