Unsolved MagicMirror Update Error
-
Hello sir,
i hope you are fine.
i tried to update the magicmirror and the error is showing it hunged at the time of updating and now ti is showing this:magicmirror@2.24.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js/home/pi/MagicMirror/node_modules/electron/index.js:17
throw new Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’);
^Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:17:11)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:21:18)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1250:10)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:18) -
Hi, can you try this:
# Go to MagicMirror Folder cd ~/MagicMirror # delete all dependencies rm -rf node_modules package-lock.json # reset to last know sources git reset --hard # fetch the last sources git pull # and finaly install it npm install
tell me if better
I think It’s an error on merge old/new dependencies
-
yes it worked
thank you
but i think there is some issues with detecting word jarvis after it it is not listening the hotword -
Hi its James I’ve put on rescips in GoogleAssistant but page are not working well should say javis has stopped in pops up once ask the hot word nothing . And I change my pages to change 20000, they are changing probably its waiting hot word ? Any help
-
Hello sir
Yes sir after resolving the issue MMM-GoogleAssistant stopped working -
Log is here:
magicmirror@2.24.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[14.07.2023 18:11.04.115] [LOG] Starting MagicMirror: v2.24.0
[14.07.2023 18:11.04.121] [LOG] Loading config …
[14.07.2023 18:11.04.124] [DEBUG] config template file not exists, no envsubst
[14.07.2023 18:11.04.129] [LOG] Loading module helpers …
[14.07.2023 18:11.04.130] [LOG] No helper found for module: clock.
[14.07.2023 18:11.04.147] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.148] [LOG] Module helper loaded: updatenotification
[14.07.2023 18:11.04.151] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.151] [LOG] Module helper loaded: EXT-Alert
[14.07.2023 18:11.04.156] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.156] [LOG] Module helper loaded: Gateway
[14.07.2023 18:11.04.160] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.161] [LOG] Module helper loaded: MMM-GoogleAssistant
[14.07.2023 18:11.04.162] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.163] [LOG] Module helper loaded: EXT-Background
[14.07.2023 18:11.04.166] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.166] [LOG] Module helper loaded: EXT-Detector
[14.07.2023 18:11.04.396] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.397] [LOG] Module helper loaded: calendar
[14.07.2023 18:11.04.585] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.586] [LOG] Module helper loaded: EXT-GooglePhotos
[14.07.2023 18:11.04.588] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.588] [LOG] Module helper loaded: EXT-Welcome
[14.07.2023 18:11.04.588] [LOG] No helper found for module: compliments.
[14.07.2023 18:11.04.589] [LOG] No helper found for module: weather.
[14.07.2023 18:11.04.608] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.608] [LOG] Module helper loaded: newsfeed
[14.07.2023 18:11.04.610] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.610] [LOG] Module helper loaded: EXT-Browser
[14.07.2023 18:11.04.825] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.825] [LOG] Module helper loaded: EXT-Librespot
[14.07.2023 18:11.04.990] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.990] [LOG] Module helper loaded: EXT-Spotify
[14.07.2023 18:11.04.992] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.992] [LOG] Module helper loaded: EXT-UpdateNotification
[14.07.2023 18:11.04.994] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.994] [LOG] Module helper loaded: EXT-Volume
[14.07.2023 18:11.04.998] [LOG] Initializing new module helper …
[14.07.2023 18:11.04.998] [LOG] Module helper loaded: EXT-TelegramBot
[14.07.2023 18:11.05.210] [LOG] Initializing new module helper …
[14.07.2023 18:11.05.211] [LOG] Module helper loaded: EXT-Internet
[14.07.2023 18:11.05.211] [LOG] All module helpers loaded.
[14.07.2023 18:11.05.220] [LOG] Starting server on port 8080 …
[14.07.2023 18:11.05.504] [LOG] Server started …
[14.07.2023 18:11.05.505] [LOG] Connecting socket for: updatenotification
[14.07.2023 18:11.05.506] [LOG] Starting module helper: updatenotification
[14.07.2023 18:11.05.506] [LOG] Connecting socket for: EXT-Alert
[14.07.2023 18:11.05.507] [LOG] Starting module helper: EXT-Alert
[14.07.2023 18:11.05.507] [LOG] Connecting socket for: Gateway
[14.07.2023 18:11.05.508] [LOG] Connecting socket for: MMM-GoogleAssistant
[14.07.2023 18:11.05.509] [LOG] Connecting socket for: EXT-Background
[14.07.2023 18:11.05.509] [LOG] Starting module helper: EXT-Background
[14.07.2023 18:11.05.510] [LOG] Connecting socket for: EXT-Detector
[14.07.2023 18:11.05.510] [LOG] Connecting socket for: calendar
[14.07.2023 18:11.05.511] [LOG] Starting node helper for: calendar
[14.07.2023 18:11.05.511] [LOG] Connecting socket for: EXT-GooglePhotos
[14.07.2023 18:11.05.512] [LOG] Connecting socket for: EXT-Welcome
[14.07.2023 18:11.05.513] [LOG] Starting module helper: EXT-Welcome
[14.07.2023 18:11.05.514] [LOG] Connecting socket for: newsfeed
[14.07.2023 18:11.05.514] [LOG] Starting node helper for: newsfeed
[14.07.2023 18:11.05.516] [LOG] Connecting socket for: EXT-Browser
[14.07.2023 18:11.05.517] [LOG] Starting module helper: EXT-Browser
[14.07.2023 18:11.05.518] [LOG] Connecting socket for: EXT-Librespot
[14.07.2023 18:11.05.518] [LOG] Connecting socket for: EXT-Spotify
[14.07.2023 18:11.05.519] [LOG] Connecting socket for: EXT-UpdateNotification
[14.07.2023 18:11.05.524] [LOG] [UN] EXT-UpdateNotification Version: 0.0.0 rev: 230709
[14.07.2023 18:11.05.524] [LOG] Connecting socket for: EXT-Volume
[14.07.2023 18:11.05.525] [LOG] Connecting socket for: EXT-TelegramBot
[14.07.2023 18:11.05.526] [LOG] Connecting socket for: EXT-Internet
[14.07.2023 18:11.05.527] [LOG] Sockets connected & modules started …
[14.07.2023 18:11.05.554] [LOG] Launching application.
[14.07.2023 18:11.08.704] [LOG] [GA] MMM-GoogleAssistant Version: 5.2.0 rev: 230707
[14.07.2023 18:11.12.370] [LOG] [GA] [LIB] All libraries loaded!
[14.07.2023 18:11.12.371] [LOG] [GA] [CONFIG_MERGE] Read config.js and check ConfigDeepMerge…
[14.07.2023 18:11.12.372] [LOG] [GA] [CONFIG_MERGE] Perfect ConfigDeepMerge activated!
[14.07.2023 18:11.12.372] [LOG] [GA] [SECURE] Check digital footprint…
[14.07.2023 18:11.12.401] [LOG] [GA] [DATA] Platform: ‘linux’; attempting to use ‘arecord’ to access microphone …
[14.07.2023 18:11.12.430] [LOG] [GA] [RECIPES] LOADED: …/…/EXT-Spotify/recipe/EXT-Spotify.js
[14.07.2023 18:11.12.431] [LOG] [GA] [DATA] Google Assistant is initialized.
[14.07.2023 18:11.12.486] [LOG] [GA] [SECURE] Happy use !
[14.07.2023 18:11.12.520] [LOG] Create new calendarfetcher for url: https://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics - Interval: 3600000
[14.07.2023 18:11.12.584] [LOG] Create new newsfetcher for url: https://timesofindia.indiatimes.com/rssfeedmostrecent.cms - Interval: 300000
[14.07.2023 18:11.12.593] [LOG] [GATEWAY] Gateway Version: 3.4.0 rev: 230708
[14.07.2023 18:11.12.598] [INFO] Checking git for module: EXT-Alert
[14.07.2023 18:11.15.233] [LOG] [GATEWAY] [LIB] All libraries loaded!
[14.07.2023 18:11.15.238] [LOG] [GATEWAY] MagicMirror address: localhost
[14.07.2023 18:11.15.239] [LOG] [GATEWAY] [TRANSLATION] [HOME] Use: default.home -
Google Assistant stopped blinking
-
-
And there is (naturaly) no other logs after !?
and (naturally) no line[GATEWAY] Gateway Ready!
?And (naturaly) … are you really sure it’s
MMM-GoogleAssistant
wtop working ?
because i see:[14.07.2023 18:11.12.431] [LOG] [GA] [DATA] Google Assistant is initialized
It’s really that !?, are you sure ? ;);)
(not me) -
I ll try one more time then I ll share log again but I am sure that assistant is not activating
Even telegram bot says that no internet connection is established -
not me
Rules are:
MMM-GoogleAssistant
iniitalize ->MMM-GoogleAssistant
activated (ready) -> InitializeGateway
->Gateway
Ready -> initialize all EXTsI see:
[14.07.2023 18:11.08.704] [LOG] [GA] MMM-GoogleAssistant Version: 5.2.0 rev: 230707
<— initialize
[14.07.2023 18:11.12.431] [LOG] [GA] [DATA] Google Assistant is initialized.
<-- ok it’s activated and ready[14.07.2023 18:11.12.593] [LOG] [GATEWAY] Gateway Version: 3.4.0 rev: 230708
<-- initialize GW
- and missing some other logs… (error is after)