@sdetweil Hi. I am using a PI3B+ /Thanks.
Read the statement by Michael Teeuw here.
Best posts made by CLLA1972
-
RE: Electron Install Error - Electron not found
-
RE: Electron Install Error - Electron not found
@sdetweil Thanks so much for the support. Still not “there yet”. I got the following error message.
Again, THANKS !!!
-
RE: Electron Install Error - Electron not found
@sdetweil Thanks! Great! That got me back on track again !!! THANKS !!! :clapping_hands_medium-light_skin_tone: :folded_hands:
Latest posts made by CLLA1972
-
RE: Problem after MM-upgrade
@sdetweil This?
pi@raspberrypi:~/MagicMirror $ git status
På grenen master
Din gren är à jour med “origin/master”.Ospårade filer:
(använd “git add …” för att ta med i det som ska checkas in)
custom.css
nohup.outinget köat för incheckning, men ospårade filer finns (spåra med “git add”)
-
Problem after MM-upgrade
I just did an upgrade and got the following message:
pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.26.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[16.01.2024 19:51.34.090] [LOG] Starting MagicMirror: v2.26.0
[16.01.2024 19:51.34.111] [LOG] Loading config …
[16.01.2024 19:51.34.120] [DEBUG] config template file not exists, no envsubst
[16.01.2024 19:51.34.133] [LOG] Loading module helpers …
[16.01.2024 19:51.34.145] [LOG] No helper found for module: alert.
[16.01.2024 19:51.34.204] [ERROR] (node:29116) 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 Module._resolveFilename (node:internal/modules/cjs/loader:1082:15)
at n._resolveFilename (node:electron/js2c/browser_init:2:117457)
at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:927:27)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1148:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/pi/MagicMirror/modules/default/updatenotification/update_helper.js:3:23)
at Module._compile (node:internal/modules/cjs/loader:1269:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1324:10)
at Module.load (node:internal/modules/cjs/loader:1124:32)
at Module._load (node:internal/modules/cjs/loader:965:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1148:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:4:22)
(Useelectron --trace-warnings ...
to show where the warning was created)
[16.01.2024 19:51.34.206] [ERROR] (node:29116) 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)
^C/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
I appreciate all help. THANKS !!!
-
RE: Electron Install Error - Electron not found
@sdetweil Thanks! Great! That got me back on track again !!! THANKS !!! :clapping_hands_medium-light_skin_tone: :folded_hands:
-
RE: Electron Install Error - Electron not found
@sdetweil Did now the commande without the Typo :flushed_face: and god this one (similar to a previous one) . I am getting close to the solution? :-)
-
RE: Electron Install Error - Electron not found
@CLLA1972 574 timing build:link:node_modules/read-pkg/node_modules/semver Completed in 65ms
575 timing build:link Completed in 83ms
576 info run playwright@1.26.1 install node_modules/playwright node install.js
577 info run playwright@1.26.1 install { code: 1, signal: null }
578 timing reify:rollback:createSparse Completed in 3063ms
579 timing reify:rollback:retireShallow Completed in 5ms
580 timing command:install Completed in 329571ms
581 verbose stack Error: command failed
581 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
581 verbose stack at ChildProcess.emit (node:events:527:28)
581 verbose stack at maybeClose (node:internal/child_process:1092:16)
581 verbose stack at Socket. (node:internal/child_process:451:11)
581 verbose stack at Socket.emit (node:events:527:28)
581 verbose stack at Pipe. (node:net:709:12)
582 verbose pkgid playwright@1.26.1
583 verbose cwd /home/pi/MagicMirror
584 verbose Linux 5.15.32-v7+
585 verbose node v16.16.0
586 verbose npm v8.11.0
587 error code 1
588 error path /home/pi/MagicMirror/node_modules/playwright
589 error command failed
590 error command sh -c node install.js
591 error BEWARE: your OS is not officially supported by Playwright; downloading fallback build.
591 error Downloading Chromium 106.0.5249.30 (playwright build v1024)…
591 error | | 0% of 135.1 Mb
591 error Downloading Chromium 106.0.5249.30 (playwright build v1024)…
591 error | | 0% of 135.1 Mb
591 error Downloading Chromium 106.0.5249.30 (playwright build v1024)…
592 error /home/pi/MagicMirror/node_modules/playwright-core/lib/server/registry/index.js:709
592 error throw new Error(Failed to download ${title}, caused by\n${e.stack}
);
592 error ^
592 error
592 error Error: Failed to download Chromium 106.0.5249.30 (playwright build v1024), caused by
592 error Error: getaddrinfo EAI_AGAIN playwright-verizon.azureedge.net
592 error at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
592 error at /home/pi/MagicMirror/node_modules/playwright-core/lib/server/registry/index.js:709:13
592 error at async Registry._downloadExecutable (/home/pi/MagicMirror/node_modules/playwright-core/lib/server/registry/index.js:708:5)
592 error at async Registry.install (/home/pi/MagicMirror/node_modules/playwright-core/lib/server/registry/index.js:672:9)
592 error at async installBrowsersForNpmInstall (/home/pi/MagicMirror/node_modules/playwright-core/lib/server/registry/index.js:876:3)
593 verbose exit 1
594 timing npm Completed in 330071ms
595 verbose unfinished npm timer reify 1666037734674
596 verbose unfinished npm timer reify:build 1666037983317
597 verbose unfinished npm timer build 1666037983330
598 verbose unfinished npm timer build:deps 1666037983332
599 verbose unfinished npm timer build:run:install 1666037983509
600 verbose unfinished npm timer build:run:install:node_modules/playwright 1666037983511
601 verbose code 1
602 error A complete log of this run can be found in:
602 error /home/pi/.npm/_logs/2022-10-17T20_15_34_187Z-debug-0.log -
RE: Electron Install Error - Electron not found
@sdetweil Hi again. First of all, thanks for the great help. I am really in deep water here and I really do not want to reboot the whole PI and start from scratch. Here the result from the latest command and the log file. Again THANKS !! [2022-10-17T20_15_34_187Z-debug-0.log](Invalid file type. Allowed types are: .jpg, .jpeg, .png, .gif, .png, .jpg, .jpeg, .gif)
-
RE: Electron Install Error - Electron not found
@sdetweil Hi. I am using a PI3B+ /Thanks.