@lucallmon oh okay thats interesting. didnt know that
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-GoogleAssistant error when trying to get reponse?
-
RE: MMM-GoogleAssistant error when trying to get reponse?
@bugsounet ahh okay. Thank you for your hard work and keep it up.
-
RE: MMM-GoogleAssistant error when trying to get reponse?
i found how too login too bugsonet forum it was all just very unfamiliar but now i found it so i will be moving my question there. but if anyone has any tips on this please dont hesitate too reply.
-
MMM-GoogleAssistant error when trying to get reponse?
Hi everyone, I’m having a problem with the MMM-GoogleAssistant module. Whenever I say something, it gets stuck on loading for about 30 seconds and then gives the following error at the end of the log:
0|mm | [2024-11-05 15:51:26.173] [LOG] [DETECTOR] [RULES] Detected: jarvis from: Porcupine 0|mm | [2024-11-05 15:51:26.187] [LOG] [GA] [ACTIVATE_ASSISTANT] QUERY: { 0|mm | type: 'MIC', 0|mm | key: null, 0|mm | lang: 'en-US', 0|mm | status: 'standby', 0|mm | chime: true 0|mm | } 0|mm | [2024-11-05 15:51:26.190] [LOG] [GA] [ASSISTANT] Used project_id: plenary-justice-369222 0|mm | [2024-11-05 15:51:26.192] [LOG] [GA] [ASSISTANT] deviceModelId is: plenary-justice-369222-bugsounet_GA 0|mm | [2024-11-05 15:51:26.194] [LOG] [GA] [ASSISTANT] deviceId is MMM-GoogleAssistant 0|mm | [2024-11-05 15:51:26.338] [LOG] [GA] [MP3] ~ MP3 FILE CREATING: /home/pi/MagicMirror/modules/MMM-GoogleAssistant/tmp/lastResponse.mp3 0|mm | [2024-11-05 15:51:26.381] [LOG] [GA] [ASSISTANT] MIC:RECORDING START. 0|mm | [2024-11-05 15:51:26.431] [LOG] [GA] [LPCM16] Start listening: 1 channels - use: arecord - device: default - sample rate: 16000 0|mm | [2024-11-05 15:51:28.863] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pil', done: false } 0|mm | [2024-11-05 15:51:28.873] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pilot', done: false } 0|mm | [2024-11-05 15:51:29.217] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pill', done: false } 0|mm | [2024-11-05 15:51:29.221] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pilot', done: false } 0|mm | [2024-11-05 15:51:29.225] [LOG] [GA] [ASSISTANT] CONVERSATION:END_OF_UTTERANCE 0|mm | [2024-11-05 15:51:29.225] [LOG] [GA] [ASSISTANT] MIC:RECORDING_END 0|mm | [2024-11-05 15:51:29.230] [LOG] [GA] [ASSISTANT] CONVERSATION:TRANSCRIPTION { transcription: 'pilot', done: true } 0|mm | [2024-11-05 15:51:29.257] [LOG] [GA] [LPCM16] Stop listening 0|mm | [2024-11-05 15:51:29.895] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.900] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.908] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.912] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.915] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.918] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.922] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.926] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.930] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 1600 0|mm | [2024-11-05 15:51:29.936] [LOG] [GA] [ASSISTANT] CONVERSATION:AUDIO 960 0|mm | [2024-11-05 15:51:29.952] [LOG] [GA] [ASSISTANT] CONVERSATION:RESPONSE 0|mm | [2024-11-05 15:51:40.011] [LOG] MMM-VoiceCompanion: Still listening for wake word... 0|mm | [2024-11-05 15:51:40.013] [LOG] MMM-VoiceCompanion: Still listening for wake word... 0|mm | [2024-11-05 15:52:10.018] [LOG] MMM-VoiceCompanion: Still listening for wake word... 0|mm | [2024-11-05 15:52:28.864] [LOG] [GA] [MP3] MP3 FILE CREATED 15360 bytes 0|mm | [2024-11-05 15:52:28.865] [LOG] [GA] [ASSISTANT] CONVERSATION_ERROR: Error: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error) 0|mm | [2024-11-05 15:52:28.868] [LOG] [GA] [ASSISTANT] CONVERSATION_ALL_RESPONSES_RECEIVED 0|mm | [2024-11-05 15:52:28.869] [LOG] [GA] [ASSISTANT] CONVERSATION_END:COMPLETED 0|mm | [2024-11-05 15:52:28.870] [LOG] [GA] [ASSISTANT] CONVERSATION_PP:RESPONSE_AUDIO_PROCESSED 0|mm | [2024-11-05 15:52:28.871] [LOG] [GA] [MP3] Try to close but MP3 not created ! 0|mm | [2024-11-05 15:52:28.874] [LOG] [GA] [ACTIVATE_ASSISTANT] RESULT { 0|mm | error: { 0|mm | error: 'CONVERSATION_ERROR', 0|mm | message: 'Error: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error)', 0|mm | audio: false 0|mm | }, 0|mm | action: null, 0|mm | text: null, 0|mm | screen: null, 0|mm | audio: { 0|mm | path: '/home/pi/MagicMirror/modules/MMM-GoogleAssistant/tmp/lastResponse.mp3', 0|mm | uri: 'tmp/lastResponse.mp3' 0|mm | }, 0|mm | transcription: { transcription: 'pilot', done: true }, 0|mm | continue: false, 0|mm | volume: null, 0|mm | lastQuery: { 0|mm | type: 'MIC', 0|mm | key: null, 0|mm | lang: 'en-US', 0|mm | status: 'standby', 0|mm | chime: true 0|mm | } 0|mm | } 0|mm | [2024-11-05 15:52:28.934] [LOG] [DETECTOR] [RULES] Start listening. 1 Models
This issue is strange since I hadn’t encountered it before, but recently, it’s been happening every single time. I tried updating and reinstalling MMM-GoogleAssistant and followed the latest steps in the wiki. If anyone has insights into why this RST_STREAM Error might be occurring, I’d really appreciate your help!
-
RE: MMM-GoogleAssistant Gateway big update = big error = big trouble = ):
Hey evryone I fixed the problem with alot of reinstalling and then removing the gateway module
-
RE: MMM-GoogleAssistant Gateway big update = big error = big trouble = ):
@sdetweil I tried with the option force but I still get authentication error when it comes to Gateway module. And also now because the script was forced too cancel my script it also removed electron. It didn’t let me download electron again with npm install electron so I used sudo even tho I wasn’t supposed to. And that’s gave me a whole bunch more errors:
mm A JavaScript error occurred in the main process Uncaught Exception: 0 mm on has a valid 0 mm Error: Cannot find module '/home/pi/MagicMirror/node_modules/finalhandler/node_modules/debug/src/index.js'. Please verify that the package.js "main" entry mm at tryPackage (node: internal/modules/cjs/loader:494:19) mm at Module. _findPath (node:internal/modules/cjs/loader: 778:18) at Module._resolveFilename (node: internal/modules/cjs/loader: 1218:27) at s._resolveFilename (node: electron/js2c/browser_init:2:120689) mm mm 0 mm 0 mm 0 mm mm mm mm 0 mm 0mm 0 mm mm at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module. _load (node: internal/modules/cjs/loader: 1058:27) at c._load (node: electron/js2c/node_init: 2:16955) at Module.require (node: internal/modules/cjs/loader:1318:19) at require (node: internal/modules/helpers:179:18) at Object. <anonymous> (/home/pi/MagicMirror/node_modules/finalhandler/index.js:14:13) at Module._compile (node: internal/modules/cjs/loader: 1484:14) at Module._ _extensions..js (node: internal/modules/cjs/loader: 1564:10) at Module. load (node:internal/modules/cjs/loader:1295:32) at Module._load (node: internal/modules/cjs/loader: 1111:12) at c._load (node: electron/js2c/node_init: 2:16955) at Module.require (node: internal/modules/cjs/loader:1318:19)
What should I do too completely reinstall magic mirror again but keep my config and modules the same. Preferably also reinstall google assistant.
-
RE: MMM-GoogleAssistant Gateway big update = big error = big trouble = ):
@Kazzer but it’s seems very unfamiliar when you enter this website. Can’t find where to view or make posts
-
RE: MMM-GoogleAssistant Gateway big update = big error = big trouble = ):
@sdetweil ok, I tried your upgrading script but never with force option. Will try after school. But when I tried the script yesterday it seemed extremely fast but that just might be your coding skills at play lol. I come back with this after school
-
MMM-GoogleAssistant Gateway big update = big error = big trouble = ):
Hey everybody gotta sleep so if this is rushed then I’m sorry Il clarify tomorrow after school.
I would post this on bugsonets forum but I can’t seem to find it anymore maybe he took it down??
This whole journey started when my google assistant modules stopped responding this morning. It just sat there pondering loading at anything I said (including triggering recipes) and then gave an internal server error. I can’t give all of the error codes today as I need too sleep for school tomorrow but will be sure to reply with them after school tomorrow. Anyways so then I figured it’s probobally got something to do with me not updating anything related too magic mirror for maybe a year or so. So I started with upgrading my node and npm too the newest supported versions and then updated magic mirror successfully. After this I updated MMM-GoogleAssistant and all of the external modules as well. One problem. When I try too update the gateway external module it gives me an error and tells me I need too authenticate with my GitHub username and password (doesn’t work). When I launch magic mirror and examine the logs I get a whole bunch of errors relating too gateway module (such a big error code I can’t even fit it all in this text so some parts may be cut) here it is:0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.700] [ERROR] [GATEWAY] [LIB] passport Loading error! Error: Cannot find module 'passport' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.729] [ERROR] [GATEWAY] [LIB] actions-on-google Loading error! Error: Cannot find module 'actions-on-google' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.734] [ERROR] [GATEWAY] [LIB] googleapis Loading error! Error: Cannot find module 'googleapis' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.737] [ERROR] [GATEWAY] [LIB] google-auth-library Loading error! Error: Cannot find module 'google-auth-library' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.738] [LOG] [GATEWAY] [LIB] Loaded: lodash -> this.lib._ 0|mm | [2024-11-04 22:43:25.771] [LOG] [GATEWAY] [LIB] Loaded: moment -> this.lib.moment 0|mm | [2024-11-04 22:43:25.782] [LOG] [GATEWAY] [LIB] Loaded: mkdirp -> this.lib.mkdirp 0|mm | [2024-11-04 22:43:25.784] [LOG] [GATEWAY] [LIB] Loaded: https -> this.lib.https 0|mm | [2024-11-04 22:43:25.786] [ERROR] [GATEWAY] [LIB] decompress Loading error! Error: Cannot find module 'decompress' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.790] [ERROR] [GATEWAY] [LIB] decompress-tar Loading error! Error: Cannot find module 'decompress-tar' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.793] [ERROR] [GATEWAY] [LIB] decompress-tarbz2 Loading error! Error: Cannot find module 'decompress-tarbz2' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.795] [ERROR] [GATEWAY] [LIB] decompress-targz Loading error! Error: Cannot find module 'decompress-targz' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.798] [ERROR] [GATEWAY] [LIB] decompress-unzip Loading error! Error: Cannot find module 'decompress-unzip' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.802] [ERROR] [GATEWAY] [LIB] @felipecrs/decompress-tarxz Loading error! Error: Cannot find module '@felipecrs/decompress-tarxz' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.822] [ERROR] [GATEWAY] [LIB] tree-kill Loading error! Error: Cannot find module 'tree-kill' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.825] [ERROR] [GATEWAY] [LIB] sha256-file Loading error! Error: Cannot find module 'sha256-file' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/components/parseData.js 0|mm | - /home/pi/MagicMirror/modules/Gateway/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) 0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:121498) 0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Module._load (node:internal/modules/cjs/loader:1058:27) 0|mm | at c._load (node:electron/js2c/node_init:2:17025) 0|mm | at Module.require (node:internal/modules/cjs/loader:1318:19) 0|mm | at require (node:internal/modules/helpers:179:18) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:64:37 0|mm | at Array.forEach (<anonymous>) 0|mm | at /home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:57:15 0|mm | at new Promise (<anonymous>) 0|mm | at Object.libraries (/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js:56:10) 0|mm | at Object.parse (/home/pi/MagicMirror/modules/Gateway/components/parseData.js:56:31) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/Gateway/node_helper.js:28:25) 0|mm | at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:91:10) 0|mm | at Socket.onevent (/home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:462:26) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/loadLibraries.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/components/parseData.js', 0|mm | '/home/pi/MagicMirror/modules/Gateway/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js' 0|mm | ] 0|mm | } 0|mm | [2024-11-04 22:43:25.858] [ERROR] [GATEWAY] Warning: 17 needed library not loaded ! 0|mm | [2024-11-04 22:43:25.860] [ERROR] [GATEWAY] Try to solve it with `npm run rebuild` in Gateway directory
welcome back from that reading session. In the end here it says that fixing these problems are as easy as running npm run rebuild. But as before when I try running this command in the gateway directory it tells me to give authentication or politely F off. So right now the mirror still starts but I’m stuck loading when asking it things and I get these errors. Tomorrow I will get the full internal server error message and send here. Is there maybe some new update that removes the need for this gateway module and should I then maybe just remove gateway from my config.js? But this would explain why I get internal server error
Sorry for this long text. Help would be greatly appreciated and also if anyone knows what happened too bugsonet forum please let me know. Goodnight (: