Unsolved EXT-Music player does not work
-
I did not install EXT-Alert. From my observation, everything seems correct at the start.
Thanks for your reply. I do want to solve it. Because I don’t have Spotify premium account. So far, I can only find this module that is designed to play music. It is a gift for my girlfriend. -
So, can I see all logs from start of MM² ?
-
thank your Sir for your patience.
[13.04.2024 12:10.39.429] [WARN] [33mYou're using a full whitelist configuration to allow for all IPs[39m [3903:0413/121040.578183:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.579354:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.580730:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.581095:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.581845:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.582265:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.582798:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.585443:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.585979:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.586490:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.586945:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.587423:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.587893:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [3903:0413/121040.588316:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [13.04.2024 12:10.43.615] [ERROR] [GA] [RECIPES] LOADING ERROR: ../../EXT-YouTube/recipe/EXT-YouTube.js [13.04.2024 12:10.43.616] [ERROR] [GA] [RECIPES] DETAIL: Cannot find module './recipes/../../EXT-YouTube/recipe/EXT-YouTube.js' Require stack: - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/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 - [13.04.2024 12:10.43.792] [ERROR] Gateway is not needed with MMM-GoogleAssistant v6 [13.04.2024 12:10.45.180] [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 12:10.45.825] [ERROR] [MUSIC] Warning: 1 @bugsounet library not loaded ! [13.04.2024 12:10.45.827] [ERROR] [MUSIC] Try to solve it with `npm run rebuild` in EXT-MusicPlayer directory [13.04.2024 12:10.45.841] [ERROR] [DETECTOR] [PORCUPINE] Error: No AccessKey provided in config! [13.04.2024 12:10.45.846] [ERROR] [DETECTOR] [PORCUPINE] Can't init Porcupine! (missing accessKey) [13.04.2024 12:10.48.704] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 12:10.48.706] [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 12:10.48.711] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 12:10.48.714] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [13.04.2024 12:10.49.708] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 12:10.49.712] [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 12:10.49.712] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 12:10.49.713] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [13.04.2024 12:10.49.781] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 12:10.49.784] [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 12:10.49.784] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 12:10.49.784] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [13.04.2024 12:10.50.574] [WARN] [GA] WARN: You are using default username or default password [13.04.2024 12:10.50.575] [WARN] [GA] WARN: Don't forget to change it! [13.04.2024 12:10.50.630] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 12:10.50.631] [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 12:10.50.631] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 12:10.50.631] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [13.04.2024 12:10.51.451] [ERROR] Whoops! There was an uncaught exception... [13.04.2024 12:10.51.452] [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 12:10.51.453] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [13.04.2024 12:10.51.453] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
By installing
EXT-Alert
(that you don’t want), this plugin will inform any erros:- [ERROR] [GA] [RECIPES] LOADING ERROR: …/…/EXT-YouTube/recipe/EXT-YouTube.js
- [ERROR] Gateway is not needed with MMM-GoogleAssistant v6
- [ERROR] [MUSIC] ./components/playerLib.js Loading error! Error: Cannot find module ‘drivelist’
- [ERROR] [MUSIC] Try to solve it with
npm run rebuild
in EXT-MusicPlayer directory
So, can I see all logs from start of MM² ?
I have only any errors and not any log from start
But you can self correct it -
> magicmirror@2.26.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [13.04.2024 15:42.36.927] [LOG] Starting MagicMirror: v2.26.0 [13.04.2024 15:42.36.933] [LOG] Loading config ... [13.04.2024 15:42.36.936] [DEBUG] config template file not exists, no envsubst [13.04.2024 15:42.36.941] [LOG] Loading module helpers ... [13.04.2024 15:42.36.963] [LOG] Initializing new module helper ... [13.04.2024 15:42.36.964] [LOG] Module helper loaded: MMM-GoogleAssistant [13.04.2024 15:42.36.969] [LOG] Initializing new module helper ... [13.04.2024 15:42.36.970] [LOG] Module helper loaded: Gateway [13.04.2024 15:42.36.973] [LOG] Initializing new module helper ... [13.04.2024 15:42.36.974] [LOG] Module helper loaded: EXT-Detector [13.04.2024 15:42.37.351] [LOG] Initializing new module helper ... [13.04.2024 15:42.37.352] [LOG] Module helper loaded: MMM-BackgroundSlideshow [13.04.2024 15:42.37.353] [LOG] No helper found for module: alert. [13.04.2024 15:42.37.354] [LOG] No helper found for module: clock. [13.04.2024 15:42.37.478] [LOG] Initializing new module helper ... [13.04.2024 15:42.37.479] [LOG] Module helper loaded: calendar [13.04.2024 15:42.37.480] [LOG] No helper found for module: compliments. [13.04.2024 15:42.37.480] [LOG] No helper found for module: weather. [13.04.2024 15:42.37.483] [LOG] Initializing new module helper ... [13.04.2024 15:42.37.483] [LOG] Module helper loaded: EXT-MusicPlayer [13.04.2024 15:42.37.484] [LOG] All module helpers loaded. [13.04.2024 15:42.37.492] [LOG] Starting server on port 8080 ... [13.04.2024 15:42.37.712] [LOG] Server started ... [13.04.2024 15:42.37.714] [LOG] Connecting socket for: MMM-GoogleAssistant [13.04.2024 15:42.37.715] [LOG] Connecting socket for: Gateway [13.04.2024 15:42.37.717] [LOG] Connecting socket for: EXT-Detector [13.04.2024 15:42.37.718] [LOG] Connecting socket for: MMM-BackgroundSlideshow [13.04.2024 15:42.37.720] [LOG] Connecting socket for: calendar [13.04.2024 15:42.37.720] [LOG] Starting node helper for: calendar [13.04.2024 15:42.37.721] [LOG] Connecting socket for: EXT-MusicPlayer [13.04.2024 15:42.37.722] [LOG] Sockets connected & modules started ... [13.04.2024 15:42.37.736] [LOG] Launching application. [13.04.2024 15:42.40.174] [LOG] [GA] MMM-GoogleAssistant Version: 6.2.4 rev: 240319 [13.04.2024 15:42.40.177] [LOG] [GA] [SECURE] Check digital footprint... [13.04.2024 15:42.40.236] [LOG] Create new calendarfetcher for url: https://www.officeholidays.com/ics/china - Interval: 604800000 [13.04.2024 15:42.40.430] [LOG] [GA] [SECURE] Happy use ! [13.04.2024 15:42.40.432] [LOG] [GA] [CONFIG_MERGE] Perfect ConfigDeepMerge activated! [13.04.2024 15:42.41.733] [LOG] [GA] [LIB] All GA libraries loaded! [13.04.2024 15:42.41.742] [LOG] [GA] [RECIPES] LOADED: ../../EXT-MusicPlayer/recipe/EXT-MusicPlayer.js [13.04.2024 15:42.41.743] [LOG] [GA] Recipes loaded! [13.04.2024 15:42.41.767] [INFO] BACKGROUNDSLIDESHOW: Reading directory "modules/MMM-BackgroundSlideshow/exampleImages/" for images. [13.04.2024 15:42.41.772] [INFO] BACKGROUNDSLIDESHOW: Reading directory "modules/MMM-BackgroundSlideshow/exampleImages//subfolder" for images. [13.04.2024 15:42.41.774] [INFO] BACKGROUNDSLIDESHOW: 11 files found [13.04.2024 15:42.41.777] [INFO] BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/exampleImages//austin-schmid-Dvxckvd89q4-unsplash.jpg" [13.04.2024 15:42.41.905] [LOG] [GA] ALL Modules scanned [13.04.2024 15:42.41.907] [LOG] [GA] Assistant Ready! [13.04.2024 15:42.41.908] [LOG] [GA] [HyperWatch] Logger is now enabled [13.04.2024 15:42.42.453] [LOG] [GA] [LIB] All website libraries loaded! [13.04.2024 15:42.42.457] [LOG] [GA] Loading Website... [13.04.2024 15:42.42.463] [LOG] [GA] [WEBSITE] [TRANSLATION] [HOME] Use: default.home [13.04.2024 15:42.42.481] [LOG] [GA] [WEBSITE] [PM2] checking PM2 using... [13.04.2024 15:42.42.540] [LOG] [GA] [WEBSITE] [PM2] You don't use PM2 [13.04.2024 15:42.44.360] [LOG] [GA] [WEBSITE] Detected: EXT-MusicPlayer [13.04.2024 15:42.45.068] [INFO] Calendar-Fetcher: Broadcasting 22 events from https://www.officeholidays.com/ics/china. [13.04.2024 15:42.46.167] [LOG] [DETECTOR] EXT-Detector Version: 2.6.0 rev: 240322 [13.04.2024 15:42.46.182] [LOG] [MUSIC] EXT-MusicPlayer Version: 1.3.1 rev: 240321 [13.04.2024 15:42.47.363] [LOG] [DETECTOR] [LIBRARY] All libraries loaded! [13.04.2024 15:42.47.401] [LOG] [DETECTOR] [DATA] Snowboy is initialized with 1 Models: jarvis [13.04.2024 15:42.47.408] [LOG] [DETECTOR] [DATA] Initialized [13.04.2024 15:42.47.602] [LOG] [GA] [WEBSITE] Detected: EXT-Detector [13.04.2024 15:42.48.006] [LOG] [DETECTOR] [RULES] Start listening. 1 Models [13.04.2024 15:42.48.171] [LOG] [GA] [SYSTEMINFO] Read Uptimed [13.04.2024 15:42.48.174] [LOG] [GA] [SYSTEMINFO] Initialized [13.04.2024 15:42.48.225] [LOG] [GA] Website Ready! [13.04.2024 15:42.48.364] [LOG] [GA] Loading Server... [13.04.2024 15:42.49.452] [LOG] [GA] [WEBSITE] [SERVER] Start listening on port 8081 [13.04.2024 15:42.49.453] [LOG] [GA] [WEBSITE] [SERVER] Available locally at http://172.16.4.191:8081 [13.04.2024 15:42.49.453] [LOG] [GA] Server Ready! [13.04.2024 15:42.51.892] [INFO] BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/exampleImages//gantavya-bhatt-aUcHe85CUKs-unsplash.jpg" [13.04.2024 15:43.01.969] [INFO] BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/exampleImages//houcine-ncib-1MeVx-gBBGM-unsplash.jpg" [13.04.2024 15:43.12.099] [INFO] BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/exampleImages//tamara-bellis-bvVYO4PLsbs-unsplash.jpg" [13.04.2024 15:43.22.174] [INFO] BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/exampleImages//saleh-kIt4FjqO-RQ-unsplash.jpg"
-
I’ve tried to rebuild to no avail. Just uploaded the startup log
-
EXT-Alert
installed ?
[ERROR] [GA] [RECIPES] LOADING ERROR: …/…/EXT-YouTube/recipe/EXT-YouTube.js
[ERROR] Gateway is not needed with MMM-GoogleAssistant v6corrected ?
[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
recipe line deleted from GA config ?
Starting MagicMirror: v2.26.0
Last version is v2.27.0
[GA] MMM-GoogleAssistant Version: 6.2.4 rev: 240319
last version is : [GA] MMM-GoogleAssistant Version: 6.2.5 rev: 240408
I can’t check other because, i don’t have all logs
-
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
-
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 -
1.Error when loading undefined. Try to solve it with “npm run rebuild” in EXT-MusicPlayer directory --EXT-MusicPlayer
-> can you retry it again and restart MM²
-> It will force to update to last v1.3.2 just commit version of EXT-MusicPlayer and build it -
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 ]
-
npm logs don’t says anything, only terminal output can say someting
-
this is given when I was executing npm run rebuild
-
Where can I find terminal output ? I am on Raspberry Pi
Thanks you
-
just copy/past
pi@raspberrypi:~/MagicMirror/modules/EXT-MusicPlayer $ npm run rebuild > EXT-MusicPlayer@1.3.2 rebuild > 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 est maintenant à 88fc482 Merge branch 'dev' of https://github.com/bugsounet/EXT-MusicPlayer into dev Déjà à jour. Done Reinstalling... > EXT-MusicPlayer@1.3.2 preinstall > 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-gnueabihf (raspbian 12 aarch64) Checking all dependencies... All Dependencies needed are installed ! > EXT-MusicPlayer@1.3.2 postinstall > installer/postinstall.sh -r -m -b Minify Main code... Found: 4 files to minify Process File: ../EXT-MusicPlayer.js Process File: ../node_helper.js Process File: ../components/playerLib.js Process File: ../components/musicplayer.js Done Rebuild MagicMirror... ✔ Rebuild Complete Done Support is now moved in a dedicated Server: https://forum.bugsounet.fr @bugsounet EXT-MusicPlayer is now installed !
-
> 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 $
-
[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
-
[ERROR] Error: write EFAULT
: I have correct it in main core of MM² v2.27.0For
EXT-MusicPlayer
, I have updated (again) to v1.3.3:- update all deps and update drivelist to v12.x (latest). It seams that it not works with node v18.x (only with > v20)
-
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 -
After stash, googel assistant stopped working