PB mise à jour MM
-
Salut bugs
Déjà bonne et heureuse année
J’ai effectué la mise à jour MM et quand j’effectue npm start j’ai ce log
J’ai cru voir qu’il fallait mettre à jour électron mais je ne vois pas quoi faire et si c’est lié.
Pm2 ne démarre plus mm non plusmagicmirror@2.26.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[01.01.2024 21:38.52.139] [LOG] Starting MagicMirror: v2.26.0
[01.01.2024 21:38.52.159] [LOG] Loading config …
[01.01.2024 21:38.52.168] [DEBUG] config template file not exists, no envsubst
[01.01.2024 21:38.52.192] [LOG] Loading module helpers …
[01.01.2024 21:38.52.197] [LOG] No helper found for module: clock.
[01.01.2024 21:38.52.812] [LOG] Initializing new module helper …
[01.01.2024 21:38.52.814] [LOG] Module helper loaded: calendar
[01.01.2024 21:38.52.966] [LOG] Initializing new module helper …
[01.01.2024 21:38.52.969] [LOG] Module helper loaded: MMM-Weather
[01.01.2024 21:38.52.972] [LOG] No helper found for module: MMM-TomTomTraffic.
[01.01.2024 21:38.54.003] [LOG] Initializing new module helper …
[01.01.2024 21:38.54.006] [LOG] Module helper loaded: EXT-Librespot
[01.01.2024 21:38.54.018] [LOG] Initializing new module helper …
[01.01.2024 21:38.54.019] [LOG] Module helper loaded: MMM-GoogleAssistant
[01.01.2024 21:38.54.147] [LOG] Initializing new module helper …
[01.01.2024 21:38.54.148] [LOG] Module helper loaded: MMM-News
[01.01.2024 21:38.54.150] [LOG] No helper found for module: MMM-TouchNotifications.
[01.01.2024 21:38.54.165] [LOG] Initializing new module helper …
[01.01.2024 21:38.54.166] [LOG] Module helper loaded: Gateway
[01.01.2024 21:38.54.193] [ERROR] (node:4672) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘command-exists’
Require stack:- /home/pi/MagicMirror/modules/default/updatenotification/update_helper.js
- /home/pi/MagicMirror/modules/default/updatenotification/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:117419)
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:110:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/update_helper.js:3:23)
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:110:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:4:22)
(Useelectron --trace-warnings ...
to show where the warning was created)
[01.01.2024 21:38.54.195] [ERROR] (node:4672) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[4672:0101/213855.146418:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.portal.Error.NotFound: Requested setting not found
Bon courage à toi pour cette nouvelle année
-
Slt Jeff
Tu as fait la MAJ avec le script de Bugs ?cd ~/installer npm run update
Normalement il check toutes versions (node, etc…)
-
Non avec celui de MM
-
Renvois une MAJ avec le script de BUGS ca devrait fonctionner
-
'lut, sinon essaye ceci:
cd ~/MagicMirror git reset --hard git pull npm install
-
Je tente ça ce soir
Merci -
@bugsounet
Comme d’habitude un magicien
Tout fonctionne avec un rebuild de gateway en plus