I have just noticed that since the update I have lost the sound of my small speakers connected to a jack plug on my Pi, how can I restore sound?
Latest posts made by RIKO14
-
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
-
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
YES YES YES, my MM woks well (pm2 too), you’re magic !!
thanks a lot !!pi@raspberrypi:~ $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ rm -rf node_modules pi@raspberrypi:~/MagicMirror $ git reset --hard HEAD est maintenant à 222a5f377 Merge pull request #2674 from rejas/issue_2671_master pi@raspberrypi:~/MagicMirror $ npm install npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! npm WARN tarball cached data for uuid@8.3.2 (sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==) seems to be corrupted. Refreshing cache. npm WARN tarball cached data for uri-js@4.4.1 (sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==) seems to be corrupted. Refreshing cache. npm WARN tarball cached data for tslib@1.14.1 (sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==) seems to be corrupted. Refreshing cache. npm WARN tarball cached data for agent-base@6.0.2 (sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==) seems to be corrupted. Refreshing cache. npm WARN tarball cached data for ini@1.3.8 (sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==) seems to be corrupted. Refreshing cache. npm WARN tarball cached data for base64-js@1.5.1 (sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==) seems to be corrupted. Refreshing cache. > electron-chromedriver@13.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js > core-js@3.15.2 postinstall /home/pi/MagicMirror/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) > electron@13.5.1 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js > spectron@15.0.0 postinstall /home/pi/MagicMirror/node_modules/spectron > node lib/rpath-fix.js > magicmirror@2.17.1 install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... audited 9 packages in 0.975s found 0 vulnerabilities > magicmirror@2.17.1 postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror installation finished successfully! " > magicmirror@2.17.1 install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... audited 1 package in 0.721s found 0 vulnerabilities MagicMirror installation finished successfully! > magicmirror@2.17.1 prepare /home/pi/MagicMirror > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. husky - Git hooks installed npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) added 916 packages from 1078 contributors and audited 918 packages in 271.996s 110 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@raspberrypi:~/MagicMirror $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.17.1 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [14.11.2021 18:54.25.008] [LOG] Starting MagicMirror: v2.17.1 [14.11.2021 18:54.25.018] [LOG] Loading config ... [14.11.2021 18:54.25.028] [LOG] Loading module helpers ... [14.11.2021 18:54.25.033] [LOG] No helper found for module: alert. [14.11.2021 18:54.25.053] [LOG] Initializing new module helper ... [14.11.2021 18:54.25.056] [LOG] Module helper loaded: updatenotification [14.11.2021 18:54.25.057] [LOG] No helper found for module: clock. [14.11.2021 18:54.25.301] [LOG] Initializing new module helper ... [14.11.2021 18:54.25.302] [LOG] Module helper loaded: calendar [14.11.2021 18:54.25.303] [LOG] No helper found for module: MMM-InternetRadio. [14.11.2021 18:54.25.304] [LOG] No helper found for module: MMM-RadioDe. [14.11.2021 18:54.25.375] [LOG] Initializing new module helper ... [14.11.2021 18:54.25.377] [LOG] Module helper loaded: MMM-DHT-Sensor [14.11.2021 18:54.25.389] [LOG] Initializing new module helper ... [14.11.2021 18:54.25.392] [LOG] Module helper loaded: MMM-Weather [14.11.2021 18:54.26.407] [LOG] Initializing new module helper ... [14.11.2021 18:54.26.408] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify [14.11.2021 18:54.27.116] [LOG] Initializing new module helper ... [14.11.2021 18:54.27.118] [LOG] Module helper loaded: MMM-Jast [14.11.2021 18:54.27.125] [LOG] No helper found for module: MMM-TomTomTraffic. [14.11.2021 18:54.27.889] [LOG] Initializing new module helper ... [14.11.2021 18:54.27.890] [LOG] Module helper loaded: MMM-MovieListings [14.11.2021 18:54.28.586] [LOG] Initializing new module helper ... [14.11.2021 18:54.28.587] [LOG] Module helper loaded: MMM-soccer [14.11.2021 18:54.28.593] [LOG] Initializing new module helper ... [14.11.2021 18:54.28.593] [LOG] Module helper loaded: MMM-MarineWeather [14.11.2021 18:54.28.599] [LOG] Initializing new module helper ... [14.11.2021 18:54.28.599] [LOG] Module helper loaded: MMM-Shom [14.11.2021 18:54.28.766] [LOG] Initializing new module helper ... [14.11.2021 18:54.28.767] [LOG] Module helper loaded: MMM-Tools [14.11.2021 18:54.28.827] [LOG] Initializing new module helper ... [14.11.2021 18:54.28.828] [LOG] Module helper loaded: newsfeed [14.11.2021 18:54.28.829] [LOG] All module helpers loaded. [14.11.2021 18:54.29.017] [LOG] Starting server on port 8080 ... [14.11.2021 18:54.29.047] [LOG] Server started ... [14.11.2021 18:54.29.049] [LOG] Connecting socket for: updatenotification [14.11.2021 18:54.29.051] [LOG] Connecting socket for: calendar [14.11.2021 18:54.29.052] [LOG] Starting node helper for: calendar [14.11.2021 18:54.29.053] [LOG] Connecting socket for: MMM-DHT-Sensor [14.11.2021 18:54.29.054] [LOG] MMM-DHT-Sensor helper started ... [14.11.2021 18:54.29.056] [LOG] Connecting socket for: MMM-Weather [14.11.2021 18:54.29.057] [LOG] Connecting socket for: MMM-NowPlayingOnSpotify [14.11.2021 18:54.29.058] [LOG] Connecting socket for: MMM-Jast [14.11.2021 18:54.29.061] [LOG] MMM-Jast helper method started... [14.11.2021 18:54.29.063] [LOG] Connecting socket for: MMM-MovieListings [14.11.2021 18:54.29.064] [LOG] MMM-MovieListing helper started... [14.11.2021 18:54.29.065] [LOG] Connecting socket for: MMM-soccer [14.11.2021 18:54.29.070] [LOG] Starting module: MMM-soccer [14.11.2021 18:54.29.071] [LOG] Connecting socket for: MMM-MarineWeather [14.11.2021 18:54.29.074] [LOG] Starting module helper: MMM-MarineWeather [14.11.2021 18:54.29.077] [LOG] Connecting socket for: MMM-Shom [14.11.2021 18:54.29.080] [LOG] [SHOM] MMM-Shom Version: 1.0.2 [14.11.2021 18:54.29.081] [LOG] Connecting socket for: MMM-Tools [14.11.2021 18:54.29.084] [LOG] [Tools] MMM-Tools Version: 2.0.11 [14.11.2021 18:54.29.085] [LOG] Connecting socket for: newsfeed [14.11.2021 18:54.29.086] [LOG] Starting node helper for: newsfeed [14.11.2021 18:54.29.088] [LOG] Sockets connected & modules started ... [14.11.2021 18:54.29.475] [LOG] Launching application. [14.11.2021 18:54.34.800] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/normandiefinancement14%40gmail.com/private-a887a771c961ca2ba5fa4b44e690aa93/basic.ics - Interval: 300000 [14.11.2021 18:54.35.112] [LOG] Get league table for url http://api.football-data.org/v2/competitions/FL1/standings [14.11.2021 18:54.35.123] [LOG] Create new newsfetcher for url: https://www.lemonde.fr/rss/une.xml - Interval: 300000 [14.11.2021 18:54.35.136] [LOG] Create new newsfetcher for url: https://www.lemonde.fr/economie/rss_full.xml - Interval: 300000 [14.11.2021 18:54.35.146] [LOG] Create new newsfetcher for url: https://www.lemonde.fr/culture/rss_full.xml - Interval: 300000 [14.11.2021 18:54.35.159] [LOG] Create new newsfetcher for url: https://www.lemonde.fr/cinema/rss_full.xml - Interval: 300000 [14.11.2021 18:54.35.173] [LOG] Create new newsfetcher for url: https://www.lemonde.fr/musiques/rss_full.xml - Interval: 300000 [14.11.2021 18:54.35.187] [LOG] Create new newsfetcher for url: https://www.lemonde.fr/sport/rss_full.xml - Interval: 300000 [14.11.2021 18:54.35.197] [LOG] [WEATHER] MMM-WEATHER Version: 1.0.4 [14.11.2021 18:54.35.227] [INFO] Checking git for module: default [14.11.2021 18:54.35.292] [INFO] Checking git for module: MMM-DHT-Sensor [14.11.2021 18:54.35.337] [INFO] Checking git for module: MMM-Weather [14.11.2021 18:54.35.381] [INFO] Checking git for module: MMM-NowPlayingOnSpotify [14.11.2021 18:54.35.449] [INFO] Checking git for module: MMM-Jast [14.11.2021 18:54.35.495] [INFO] Checking git for module: MMM-TomTomTraffic [14.11.2021 18:54.35.499] [INFO] Checking git for module: MMM-MovieListings [14.11.2021 18:54.35.542] [INFO] Checking git for module: MMM-soccer [14.11.2021 18:54.35.544] [INFO] Checking git for module: MMM-MarineWeather [14.11.2021 18:54.35.594] [INFO] Checking git for module: MMM-Shom [14.11.2021 18:54.35.635] [INFO] Checking git for module: MMM-Tools [14.11.2021 18:54.35.665] [LOG] [SHOM] MMM-Shom est now initialized! [14.11.2021 18:54.35.670] [ERROR] (node:3448) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `electron --trace-deprecation ...` to show where the warning was created) [14.11.2021 18:54.38.287] [LOG] [Error: failed to read sensor] [14.11.2021 18:54.39.031] [LOG] Refreshed access token because it has expired. Expired at: 18:54:35 now is: 18:54:39 [14.11.2021 18:54.39.065] [LOG] Refreshed access token because it has expired. Expired at: 19:54:39 now is: 18:54:39 [14.11.2021 18:54.39.074] [LOG] Refreshed access token because it has expired. Expired at: 19:54:39 now is: 18:54:39 [14.11.2021 18:54.40.788] [LOG] Refreshed access token because it has expired. Expired at: 19:54:39 now is: 18:54:40 [14.11.2021 18:54.40.798] [LOG] Refreshed access token because it has expired. Expired at: 19:54:40 now is: 18:54:40 [14.11.2021 18:54.41.618] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:54.41.683] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:54.41.711] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:54.41.752] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:54.41.770] [INFO] Newsfeed-Fetcher: Broadcasting 19 items. [14.11.2021 18:54.41.798] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:54.44.672] [INFO] Calendar-Fetcher: Broadcasting 10 events. [14.11.2021 18:55.04.277] [LOG] Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/normandiefinancement14%40gmail.com/private-a887a771c961ca2ba5fa4b44e690aa93/basic.ics [14.11.2021 18:55.04.296] [INFO] Calendar-Fetcher: Broadcasting 10 events. [14.11.2021 18:55.04.611] [LOG] Get league table for url http://api.football-data.org/v2/competitions/FL1/standings [14.11.2021 18:55.04.619] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/rss/une.xml [14.11.2021 18:55.04.621] [INFO] Newsfeed-Fetcher: Broadcasting 19 items. [14.11.2021 18:55.04.655] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/economie/rss_full.xml [14.11.2021 18:55.04.657] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.04.915] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/culture/rss_full.xml [14.11.2021 18:55.04.917] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.04.943] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/cinema/rss_full.xml [14.11.2021 18:55.04.944] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.05.016] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/musiques/rss_full.xml [14.11.2021 18:55.05.022] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.05.043] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/sport/rss_full.xml [14.11.2021 18:55.05.048] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.05.070] [LOG] [WEATHER] MMM-WEATHER Version: 1.0.4 [14.11.2021 18:55.05.087] [LOG] [SHOM] MMM-Shom est now initialized! [14.11.2021 18:55.05.603] [LOG] Refreshed access token because it has expired. Expired at: 18:55:04 now is: 18:55:05 [14.11.2021 18:55.05.933] [LOG] Refreshed access token because it has expired. Expired at: 19:55:05 now is: 18:55:05 [14.11.2021 18:55.07.865] [LOG] [Error: failed to read sensor] [14.11.2021 18:55.09.377] [LOG] [Error: failed to read sensor] [14.11.2021 18:55.09.729] [INFO] Newsfeed-Fetcher: Broadcasting 19 items. [14.11.2021 18:55.09.740] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.10.088] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.10.100] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.10.116] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.10.190] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.12.736] [INFO] Calendar-Fetcher: Broadcasting 10 events. [14.11.2021 18:55.38.065] [LOG] Use existing calendarfetcher for url: https://calendar.google.com/calendar/ical/normandiefinancement14%40gmail.com/private-a887a771c961ca2ba5fa4b44e690aa93/basic.ics [14.11.2021 18:55.38.066] [INFO] Calendar-Fetcher: Broadcasting 10 events. [14.11.2021 18:55.38.249] [LOG] Get league table for url http://api.football-data.org/v2/competitions/FL1/standings [14.11.2021 18:55.38.273] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/rss/une.xml [14.11.2021 18:55.38.276] [INFO] Newsfeed-Fetcher: Broadcasting 19 items. [14.11.2021 18:55.38.482] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/economie/rss_full.xml [14.11.2021 18:55.38.483] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.38.517] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/culture/rss_full.xml [14.11.2021 18:55.38.518] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.38.528] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/cinema/rss_full.xml [14.11.2021 18:55.38.538] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.38.550] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/musiques/rss_full.xml [14.11.2021 18:55.38.551] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.38.587] [LOG] Use existing newsfetcher for url: https://www.lemonde.fr/sport/rss_full.xml [14.11.2021 18:55.38.589] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.38.622] [LOG] [WEATHER] MMM-WEATHER Version: 1.0.4 [14.11.2021 18:55.38.716] [LOG] [SHOM] MMM-Shom est now initialized! [14.11.2021 18:55.39.430] [LOG] Refreshed access token because it has expired. Expired at: 18:55:38 now is: 18:55:39 [14.11.2021 18:55.43.310] [LOG] [Error: failed to read sensor] [14.11.2021 18:55.43.376] [LOG] [Error: failed to read sensor] [14.11.2021 18:55.43.401] [LOG] Refreshed access token because it has expired. Expired at: 19:55:39 now is: 18:55:43 [14.11.2021 18:55.43.978] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.44.001] [INFO] Newsfeed-Fetcher: Broadcasting 19 items. [14.11.2021 18:55.44.311] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.44.485] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.44.501] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.44.531] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [14.11.2021 18:55.46.813] [INFO] Calendar-Fetcher: Broadcasting 10 events. [14.11.2021 18:56.15.097] [LOG] [Error: failed to read sensor] [14.11.2021 18:56.46.577] [LOG] [Error: failed to read sensor] [14.11.2021 18:57.50.780] [LOG] [Error: failed to read sensor] [14.11.2021 18:58.22.950] [LOG] [Error: failed to read sensor]
-
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
Yes.
pi@raspberrypi:~ $ npm -v 6.14.15 pi@raspberrypi:~ $
-
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
there, it’s good…
pi@raspberrypi:~ $ sudo apt-get install nodejs Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets suivants seront mis à jour : nodejs 1 mis à jour, 0 nouvellement installés, 0 à enlever et 284 non mis à jour. Il est nécessaire de prendre 22,9 Mo dans les archives. Après cette opération, 38,9 Mo d'espace disque supplémentaires seront utilisés. Réception de :1 https://deb.nodesource.com/node_14.x buster/main armhf nodejs armhf 14.18.1-deb-1nodesource1 [22,9 MB] 22,9 Mo réceptionnés en 2s (9 272 ko/s) Lecture des fichiers de modifications (« changelog »)... Terminé (Lecture de la base de données... 99881 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../nodejs_14.18.1-deb-1nodesource1_armhf.deb ... Dépaquetage de nodejs (14.18.1-deb-1nodesource1) sur (10.24.1-1nodesource1) ... Paramétrage de nodejs (14.18.1-deb-1nodesource1) ... Traitement des actions différées (« triggers ») pour man-db (2.8.5-2) ... pi@raspberrypi:~ $ node -v v14.18.1 pi@raspberrypi:~ $
-
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
apparently node does not want to update…
pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - ## Installing the NodeSource Node.js 14.x repo... ## Populating apt-get cache... + apt-get update Atteint :1 http://raspbian.raspberrypi.org/raspbian buster InRelease Atteint :2 http://archive.raspberrypi.org/debian buster InRelease Atteint :3 https://deb.nodesource.com/node_10.x buster InRelease Lecture des listes de paquets... Fait ## Confirming "buster" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_14.x/dists/buster/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null gpg: Attention : le propriétaire du répertoire personnel « /home/pi/.gnupg » n'est pas sûr ## Creating apt sources list file for the NodeSource Node.js 14.x repo... + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x buster main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x buster main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Atteint :1 http://archive.raspberrypi.org/debian buster InRelease Atteint :2 http://raspbian.raspberrypi.org/raspbian buster InRelease Réception de :3 https://deb.nodesource.com/node_14.x buster InRelease [4 584 B] Réception de :4 https://deb.nodesource.com/node_14.x buster/main armhf Packages [781 B] 5 365 o réceptionnés en 2s (3 166 o/s) Lecture des listes de paquets... Fait ## Run `sudo apt-get install -y nodejs` to install Node.js 14.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn pi@raspberrypi:~ $ node -v v10.24.1 pi@raspberrypi:~ $
-
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
pi@raspberrypi:~ $ sudo apt-get --allow-releaseinfo-change update Réception de :1 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB] Réception de :2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB] Atteint :3 https://deb.nodesource.com/node_10.x buster InRelease Réception de :4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,0 MB] Réception de :5 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB] Réception de :6 http://raspbian.raspberrypi.org/raspbian buster/contrib armhf Packages [58,8 kB] Réception de :7 http://raspbian.raspberrypi.org/raspbian buster/non-free armhf Packages [104 kB] 13,6 Mo réceptionnés en 9s (1 496 ko/s) Lecture des listes de paquets... Fait N: Le dépôt « http://raspbian.raspberrypi.org/raspbian buster InRelease » a modifié sa valeur « Suite » de « stable » à « oldstable » N: Le dépôt « http://archive.raspberrypi.org/debian buster InRelease » a modifié sa valeur « Suite » de « testing » à « oldstable » pi@raspberrypi:~ $
-
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - ## Installing the NodeSource Node.js 14.x repo... ## Populating apt-get cache... + apt-get update Réception de :1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB] Atteint :2 https://deb.nodesource.com/node_10.x buster InRelease Réception de :3 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB] Lecture des listes de paquets... Fait E: Le dépôt « http://raspbian.raspberrypi.org/raspbian buster InRelease » a modifié sa valeur « Suite » de « stable » à « oldstable » N: Ceci doit être pleinement accepté avant que les mises à jour depuis ce dépôt puissent être appliquées. Veuillez vous référer aux pages de manuel « apt-secure(8) » pour plus de détails. E: Le dépôt « http://archive.raspberrypi.org/debian buster InRelease » a modifié sa valeur « Suite » de « testing » à « oldstable » N: Ceci doit être pleinement accepté avant que les mises à jour depuis ce dépôt puissent être appliquées. Veuillez vous référer aux pages de manuel « apt-secure(8) » pour plus de détails. Error executing command, exiting pi@raspberrypi:~ $ node -v v10.24.1 pi@raspberrypi:~ $
-
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
pi@raspberrypi:~ $ node -v
v10.24.1
pi@raspberrypi:~ $ npm -v
6.14.12
pi@raspberrypi:~ $ -
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
After that and
npm start
still black screen…
my log :pi@raspberrypi:~ $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ rm -rf node_modules pi@raspberrypi:~/MagicMirror $ git reset --hard HEAD est maintenant à 222a5f377 Merge pull request #2674 from rejas/issue_2671_master pi@raspberrypi:~/MagicMirror $ npm install npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! > electron-chromedriver@13.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js > core-js@3.15.2 postinstall /home/pi/MagicMirror/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) > electron@13.5.1 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js > spectron@15.0.0 postinstall /home/pi/MagicMirror/node_modules/spectron > node lib/rpath-fix.js > magicmirror@2.17.1 install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... audited 9 packages in 0.91s found 0 vulnerabilities > magicmirror@2.17.1 postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror installation finished successfully! " > magicmirror@2.17.1 install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... audited 1 package in 2.692s found 0 vulnerabilities MagicMirror installation finished successfully! > magicmirror@2.17.1 prepare /home/pi/MagicMirror > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. husky - Git hooks installed npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) added 916 packages from 1075 contributors and audited 918 packages in 196.118s 109 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.17.1 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [14.11.2021 18:09.44.063] [LOG] Starting MagicMirror: v2.17.1 [14.11.2021 18:09.44.072] [LOG] Loading config ... [14.11.2021 18:09.44.080] [LOG] Loading module helpers ... [14.11.2021 18:09.44.085] [LOG] No helper found for module: alert. [14.11.2021 18:09.44.106] [LOG] Initializing new module helper ... [14.11.2021 18:09.44.107] [LOG] Module helper loaded: updatenotification [14.11.2021 18:09.44.108] [LOG] No helper found for module: clock. [14.11.2021 18:09.44.207] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'uuid' Require stack: - /home/pi/MagicMirror/node_modules/node-ical/ical.js - /home/pi/MagicMirror/node_modules/node-ical/node-ical.js - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js - /home/pi/MagicMirror/modules/default/calendar/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 - [14.11.2021 18:09.44.208] [LOG] Loading module helpers ... [14.11.2021 18:09.44.209] [LOG] No helper found for module: alert. [14.11.2021 18:09.44.210] [LOG] Initializing new module helper ... [14.11.2021 18:09.44.211] [LOG] Module helper loaded: updatenotification [14.11.2021 18:09.44.212] [LOG] No helper found for module: clock. [14.11.2021 18:09.44.218] [ERROR] App threw an error during load [14.11.2021 18:09.44.222] [ERROR] Error: Cannot find module 'uuid' Require stack: - /home/pi/MagicMirror/node_modules/node-ical/ical.js - /home/pi/MagicMirror/node_modules/node-ical/node-ical.js - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js - /home/pi/MagicMirror/modules/default/calendar/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 Module._resolveFilename (internal/modules/cjs/loader.js:887:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:732:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12913) at Module.require (internal/modules/cjs/loader.js:959:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/node-ical/ical.js:3:20) at Module._compile (internal/modules/cjs/loader.js:1078:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) [14.11.2021 18:09.44.224] [ERROR] Whoops! There was an uncaught exception... [14.11.2021 18:09.44.231] [ERROR] Error: Cannot find module 'uuid' Require stack: - /home/pi/MagicMirror/node_modules/node-ical/ical.js - /home/pi/MagicMirror/node_modules/node-ical/node-ical.js - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js - /home/pi/MagicMirror/modules/default/calendar/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 Module._resolveFilename (internal/modules/cjs/loader.js:887:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:732:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12913) at Module.require (internal/modules/cjs/loader.js:959:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/node-ical/ical.js:3:20) at Module._compile (internal/modules/cjs/loader.js:1078:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/node_modules/node-ical/ical.js', '/home/pi/MagicMirror/node_modules/node-ical/node-ical.js', '/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js', '/home/pi/MagicMirror/modules/default/calendar/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 ] } [14.11.2021 18:09.44.236] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [14.11.2021 18:09.44.236] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [14.11.2021 18:09.44.525] [LOG] Launching application.
-
RE: I lost MMM-Weather and MMM-Shom after upgrading MM 2.12 to 2.17
I do this : “pm2 stop 0” then “cd ~/MagicMirror” then “npm start” and I have a black screen after , my log is :
pi@raspberrypi:~ $ pm2 stop 0
[PM2] Applying action stopProcessId on app [0](ids: 0)
[PM2] mm ✓
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~ $ cd ~/MagicMirror
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.17.1 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[14.11.2021 17:53.41.098] [LOG] Starting MagicMirror: v2.17.1
[14.11.2021 17:53.41.105] [LOG] Loading config …
[14.11.2021 17:53.41.112] [LOG] Loading module helpers …
[14.11.2021 17:53.41.115] [LOG] No helper found for module: alert.
[14.11.2021 17:53.41.133] [LOG] Initializing new module helper …
[14.11.2021 17:53.41.134] [LOG] Module helper loaded: updatenotification
[14.11.2021 17:53.41.135] [LOG] No helper found for module: clock.
[14.11.2021 17:53.41.238] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘uuid’
Require stack:- /home/pi/MagicMirror/node_modules/node-ical/ical.js
- /home/pi/MagicMirror/node_modules/node-ical/node-ical.js
- /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
- /home/pi/MagicMirror/modules/default/calendar/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
[14.11.2021 17:53.41.239] [LOG] Loading module helpers …
[14.11.2021 17:53.41.240] [LOG] No helper found for module: alert.
[14.11.2021 17:53.41.241] [LOG] Initializing new module helper …
[14.11.2021 17:53.41.242] [LOG] Module helper loaded: updatenotification
[14.11.2021 17:53.41.243] [LOG] No helper found for module: clock.
[14.11.2021 17:53.41.250] [ERROR] App threw an error during load
[14.11.2021 17:53.41.254] [ERROR] Error: Cannot find module ‘uuid’
Require stack:- /home/pi/MagicMirror/node_modules/node-ical/ical.js
- /home/pi/MagicMirror/node_modules/node-ical/node-ical.js
- /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
- /home/pi/MagicMirror/modules/default/calendar/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 Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/node-ical/ical.js:3:20)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)
[14.11.2021 17:53.41.256] [ERROR] Whoops! There was an uncaught exception…
[14.11.2021 17:53.41.263] [ERROR] Error: Cannot find module ‘uuid’
Require stack: - /home/pi/MagicMirror/node_modules/node-ical/ical.js
- /home/pi/MagicMirror/node_modules/node-ical/node-ical.js
- /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js
- /home/pi/MagicMirror/modules/default/calendar/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 Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/node-ical/ical.js:3:20)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/pi/MagicMirror/node_modules/node-ical/ical.js’,
‘/home/pi/MagicMirror/node_modules/node-ical/node-ical.js’,
‘/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js’,
‘/home/pi/MagicMirror/modules/default/calendar/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
]
}
[14.11.2021 17:53.41.267] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[14.11.2021 17:53.41.268] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[14.11.2021 17:53.41.579] [LOG] Launching application.
^C[14.11.2021 17:54.36.971] [LOG] Shutting down server…
[14.11.2021 17:54.36.974] [LOG] Stopping module helper: updatenotification
[14.11.2021 17:54.36.975] [LOG] Stopping module helper: updatenotification
[14.11.2021 17:54.36.976] [ERROR] Whoops! There was an uncaught exception…
[14.11.2021 17:54.36.979] [ERROR] TypeError: Cannot read property ‘close’ of undefined
at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
at App.<anonymous> (/home/pi/MagicMirror/js/electron.js:139:7)
at App.emit (events.js:315:20)
[14.11.2021 17:54.36.980] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[14.11.2021 17:54.36.981] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
pi@raspberrypi:~/MagicMirror $