Read the statement by Michael Teeuw here.
After update 2.23.0 crash
-
@swvalenti got it…
-
@sdetweil said in After update 2.23.0 crash:
@swvalenti got it…
Thought maybe the script would catch it. Ha. Oh well thanks for all your help and work.
-
@swvalenti the script DID catch for request, but not jsdom…
these are the undocumented libs used
OWGR.js:const request = require('request'); OWGR.js:const jsdom = require("jsdom");I just added that to the upgrade script list of missing libs
-
@sdetweil said in After update 2.23.0 crash:
@swvalenti the script DID catch for request, but not jsdom…
these are the undocumented libs used
OWGR.js:const request = require('request'); OWGR.js:const jsdom = require("jsdom");I just added that to the upgrade script list of missing libs
Cool so if I update it will work?
-
@swvalenti should…
-
-
@swvalenti nope it wont work as it is… looks only in the node_helper… oops…
working on fix…
pushed a fix
-
@sdetweil said in After update 2.23.0 crash:
@swvalenti nope it wont work as it is… looks only in the node_helper… oops…
working on fix…
pushed a fix
Ran upgrade script but still didn’t work same error
-
@swvalenti can u post the ~/MagicMirror/installers/upgrade.log
-
-
@swvalenti ok , because you had already done upgrade on this instance. apply doesnt do anything
do force
at the end instead of apply -
@sdetweil You are the man worked like a charm. Only thing I noticed when running on windows “alt” does not bring the toolbar up in order to quit MM. Did anything change?
-
@swvalenti alt-spacebar, or ctrl-m
ctrl-q to quit, if not using pm2.
pm2 will just restart it -
@sdetweil ctrl m worked thanks Sam!
-
Same here, error after Update :-(
@sdetweil Update with your script(Use
electron --trace-warnings ...to show where the warning was created)
[05.04.2023 07:02.12.571] [ERROR] (node:4893) 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: 2)
[4932:0405/070214.077646:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[4962:0405/070214.418104:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. -
I ran “electron-rebuild”, now it works again :-)
-
@JoeFranz on what module?
-
@sdetweil MMM-PIR-Sensor
-
@sdetweil By chance, do you know of a command I can run to kill any running Node processes? I’m trying to run your upgrade script and its unable to upgrade Node because a process is already running. Googling gives me code to use within an application but that doesn’t seem like it’ll work from the CLI.
doing test run = false update log will be in /home/pi/MagicMirror/installers/upgrade.log Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v16.13.1 Installed Node version: v10.24.1 Node should be upgraded. A Node process is currently running. Can't upgrade. Please quit all Node processes and restart the update. running process(s) are pi 881 879 0 09:05 ? 00:00:00 node ./node_modules/.bin/electron js/electron.js -
@JerryP Always use Sam’s update script. I used it last night and updated from 2.21.0 to 2.23.0 no issues. Often modules with a package.json requires an npm install in that folder and the upgrade script takes care of all of that.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login