pi@magicmirror:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
No LSB modules are available.
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.9.1
Installed Node version: v16.1.0
Node should be upgraded.
Installing Node.js ...
gpg: WARNING: unsafe ownership on homedir '/home/pi/.gnupg'
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (17.3.1-deb-1nodesource1).
The following package was automatically installed and is no longer required:
python-colorzero
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
node version is
Node.js installation Done! version=v16.1.0
Check current NPM installation ...
NPM currently installed. Checking version number.
Minimum npm version: V7.11.2
Installed npm version: V7.11.2
No npm upgrade necessary.
saving custom.css
upgrading from version 2.18.0 to 2.19.0
fetching latest revisions
there are 2 local files that are different than the master repo
config/config.js.sample
modules/default/newsfeed/newsfeed.js
do you want to save these files for later (Y/n)?
updating MagicMirror runtime, please wait
> magicmirror@2.19.0 install
> echo "Installing vendor files ...
> " && cd vendor && npm install --loglevel=error
Installing vendor files ...
changed 3 packages, and audited 10 packages in 22s
found 0 vulnerabilities
> magicmirror@2.19.0 postinstall
> npm run install-fonts && echo "MagicMirror² installation finished successfully!
> "
> magicmirror@2.19.0 install-fonts
> echo "Installing fonts ...
> " && cd fonts && npm install --loglevel=error
Installing fonts ...
added 2 packages, removed 1 package, and audited 3 packages in 5s
found 0 vulnerabilities
MagicMirror² installation finished successfully!
> magicmirror@2.19.0 prepare
> [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
no husky installed.
added 3 packages, removed 4 packages, changed 35 packages, and audited 266 packages in 2m
20 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 7.11.2 -> 8.6.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.6.0>
npm notice Run `npm install -g npm@8.6.0` to update!
npm notice
Checking for modules with removed libraries
processing dependency changes for active modules with package.json files
processing for module MMM-MysqlQuery please wait
----------------------------------
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: mmm-mysqlquery@1.0.0
npm ERR! Found: stylelint@8.4.0
npm ERR! node_modules/stylelint
npm ERR! dev stylelint@"^8.3.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer stylelint@"14.x" from grunt-stylelint@0.18.0
npm ERR! node_modules/grunt-stylelint
npm ERR! dev grunt-stylelint@"latest" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/pi/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-04-08T13_34_50_165Z-debug.log
processing complete for module MMM-MysqlQuery
restoring custom.css
we stashed a set of files that appear changed from the latest repo versions. you should review them
see installers/stashed_files for the list
you can use git checkout stash@{0} -- filename to extract one file from the stash
or git stash pop to restore them all
WARNING..
WARNING.. either will overlay the file just installed by the update
WARNING..
pi@magicmirror:~ $
Read the statement by Michael Teeuw here.
Posts
-
RE: Updating did nothing but gave fatal error warning.
-
RE: Updating did nothing but gave fatal error warning.
pi@magicmirror:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" No LSB modules are available. doing test run = true, NO updates will be applied! 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.9.1 Installed Node version: v16.1.0 Node should be upgraded. Node.js upgrade defered, doing test run Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V7.11.2 Installed npm version: V7.11.2 No npm upgrade necessary. saving custom.css upgrading from version 2.18.0 to 2.19.0 fetching latest revisions there are 5 local files that are different than the master repo config/config.js.sample fonts/package-lock.json modules/default/newsfeed/newsfeed.js package-lock.json vendor/package-lock.json any *-lock.json files do not need to be saved do you want to save these files for later (Y/n)? Checking for modules with removed libraries processing dependency changes for active modules with package.json files processing for module MMM-MysqlQuery please wait ---------------------------------- skipped processing for MMM-MysqlQuery, doing test run processing complete for module MMM-MysqlQuery restoring custom.css test run, restoring files stashed pi@magicmirror:~ $ -
RE: Updating did nothing but gave fatal error warning.
@sdetweil And then rerun the script?
-
RE: Updating did nothing but gave fatal error warning.
Tried the script, and got this node error:
pi@magicmirror:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" No LSB modules are available. doing test run = true, NO updates will be applied! 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.9.1 Installed Node version: v16.1.0 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 15102 15101 0 Jan08 ? 00:00:00 node ./node_modules/.bin/electron js/electron.js pi@magicmirror:~ $ -
Updating did nothing but gave fatal error warning.
MM reports being 119 commits behind. OK!
Went to https://docs.magicmirror.builders/getting-started/upgrade-guide.html
Did the suggested backups OK
Went to:~/MagicMirror $ entered git pull && npm install --only=prod --omit=devGot this:
fatal: Unable to read current working directory: No such file or directoryLooked at sdetweil’s script, not sure from the instructions if it need to be
run from :~/MagicMirror $ or elsewhere?Thank you.
-
RE: v2.18.0 update gave black screen, then nothing.
That’s given a very basic, but working MM
pi@magicmirror:~ $ cd ~/MagicMirror.save pi@magicmirror:~/MagicMirror.save $ git checkout package.json pi@magicmirror:~/MagicMirror.save $ rm -rf node_modules pi@magicmirror:~/MagicMirror.save $ rm package.lock.json rm: cannot remove 'package.lock.json': No such file or directory pi@magicmirror:~/MagicMirror.save $ npm install --only=prod > magicmirror@2.18.0 install > echo "Installing vendor files ... > " && cd vendor && npm install --loglevel=error Installing vendor files ... up to date, audited 10 packages in 4s found 0 vulnerabilities > magicmirror@2.18.0 postinstall > npm run install-fonts && echo "MagicMirror installation finished successfully! > " > magicmirror@2.18.0 install-fonts > echo "Installing fonts ... > " && cd fonts && npm install --loglevel=error Installing fonts ... up to date, audited 2 packages in 3s found 0 vulnerabilities MagicMirror installation finished successfully! > magicmirror@2.18.0 prepare > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. no husky installed. added 266 packages, and audited 267 packages in 2m 19 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@magicmirror:~/MagicMirror.save $ npm start > magicmirror@2.18.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [07.01.2022 14:15.55.560] [LOG] Starting MagicMirror: v2.18.0 [07.01.2022 14:15.55.585] [LOG] Loading config ... [07.01.2022 14:15.55.607] [LOG] Loading module helpers ... [07.01.2022 14:15.55.617] [LOG] No helper found for module: alert. [07.01.2022 14:15.55.675] [LOG] Initializing new module helper ... [07.01.2022 14:15.55.679] [LOG] Module helper loaded: updatenotification [07.01.2022 14:15.55.683] [LOG] No helper found for module: clock. [07.01.2022 14:15.56.139] [LOG] Initializing new module helper ... [07.01.2022 14:15.56.141] [LOG] Module helper loaded: calendar [07.01.2022 14:15.56.146] [LOG] No helper found for module: compliments. [07.01.2022 14:15.56.159] [LOG] Initializing new module helper ... [07.01.2022 14:15.56.161] [LOG] Module helper loaded: currentweather [07.01.2022 14:15.56.168] [LOG] Initializing new module helper ... [07.01.2022 14:15.56.170] [LOG] Module helper loaded: weatherforecast [07.01.2022 14:15.56.248] [LOG] Initializing new module helper ... [07.01.2022 14:15.56.250] [LOG] Module helper loaded: newsfeed [07.01.2022 14:15.56.253] [LOG] All module helpers loaded. [07.01.2022 14:15.56.571] [LOG] Starting server on port 8080 ... [07.01.2022 14:15.56.602] [LOG] Server started ... [07.01.2022 14:15.56.604] [LOG] Connecting socket for: updatenotification [07.01.2022 14:15.56.606] [LOG] Starting module helper: updatenotification [07.01.2022 14:15.56.607] [LOG] Connecting socket for: calendar [07.01.2022 14:15.56.609] [LOG] Starting node helper for: calendar [07.01.2022 14:15.56.610] [LOG] Connecting socket for: currentweather [07.01.2022 14:15.56.611] [WARN] The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path [07.01.2022 14:15.56.614] [LOG] Connecting socket for: weatherforecast [07.01.2022 14:15.56.616] [WARN] The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path [07.01.2022 14:15.56.617] [LOG] Connecting socket for: newsfeed [07.01.2022 14:15.56.620] [LOG] Starting node helper for: newsfeed [07.01.2022 14:15.56.622] [LOG] Sockets connected & modules started ... [07.01.2022 14:15.57.465] [LOG] Launching application. [12477:0107/141600.023451:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization [12538:0107/141600.426774:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. [07.01.2022 14:16.03.157] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000 [07.01.2022 14:16.03.201] [LOG] Create new newsfetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [07.01.2022 14:16.03.219] [INFO] Checking git for module: default [07.01.2022 14:16.04.177] [INFO] Calendar-Fetcher: Broadcasting 0 events. [07.01.2022 14:16.04.552] [INFO] Newsfeed-Fetcher: Broadcasting 57 items. -
RE: v2.18.0 update gave black screen, then nothing.
That’s a huge file, what’s the best way to send it?
-
RE: v2.18.0 update gave black screen, then nothing.
Ok, I’ll do that then.
Do we know what the cause of all this was, was it something to do with a mismatch in versions of node and npm?
-
RE: v2.18.0 update gave black screen, then nothing.
Good morning Sam.
Tried that late yesterday, and yes, it works.
And this morning, I copiedcustom.cssfrom
/home/pi/MagicMirror.save/cssto
/home/pi/MagicMirror/cssThis too is working perfectly.
Is there anything else to do, housekeeping maybe, or is that it now?
-
RE: v2.18.0 update gave black screen, then nothing.
Trying to rename config.js to sample,
Error when getting information for file “/home/pi/MagicMirror/config/config.js”: No such file or directory Error renaming file /home/pi/MagicMirror/config/config.js: No such file or directoryYet I can see it, I can query it for permissions…
Back tomorrow.
Richard. -
RE: v2.18.0 update gave black screen, then nothing.
I have to leave shortly Sam.
Thank you for all your help with this today, I’ll try again tomorrow.
Richard.
-
RE: v2.18.0 update gave black screen, then nothing.
pi@magicmirror:~ $ cd ~/MagicMirror/modules pi@magicmirror:~/MagicMirror/modules $ mv default default.new pi@magicmirror:~/MagicMirror/modules $ sudo cp -r -p ~/MagicMirror.save/modules/* modules cp: target 'modules' is not a directoryTried it without the space…
pi@magicmirror:~/MagicMirror/modules $ sudo cp -r -p ~/MagicMirror.save/modules/*modules cp: missing destination file operand after '/home/pi/MagicMirror.save/modules/*modules' Try 'cp --help' for more information. pi@magicmirror:~/MagicMirror/modules $ -
RE: v2.18.0 update gave black screen, then nothing.
Clean install - works perfectly! :)
pi@magicmirror:~/MagicMirror $ cd config pi@magicmirror:~/MagicMirror/config $ cp config.js.sample config.js pi@magicmirror:~/MagicMirror/config $ cd .. pi@magicmirror:~/MagicMirror $ npm start > magicmirror@2.18.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [06.01.2022 16:30.01.197] [LOG] Starting MagicMirror: v2.18.0 [06.01.2022 16:30.01.222] [LOG] Loading config ... [06.01.2022 16:30.01.238] [LOG] Loading module helpers ... [06.01.2022 16:30.01.243] [LOG] No helper found for module: alert. [06.01.2022 16:30.01.307] [LOG] Initializing new module helper ... [06.01.2022 16:30.01.311] [LOG] Module helper loaded: updatenotification [06.01.2022 16:30.01.315] [LOG] No helper found for module: clock. [06.01.2022 16:30.01.765] [LOG] Initializing new module helper ... [06.01.2022 16:30.01.768] [LOG] Module helper loaded: calendar [06.01.2022 16:30.01.771] [LOG] No helper found for module: compliments. [06.01.2022 16:30.01.773] [LOG] No helper found for module: weather. [06.01.2022 16:30.01.843] [LOG] Initializing new module helper ... [06.01.2022 16:30.01.845] [LOG] Module helper loaded: newsfeed [06.01.2022 16:30.01.848] [LOG] All module helpers loaded. [06.01.2022 16:30.02.152] [LOG] Starting server on port 8080 ... [06.01.2022 16:30.02.183] [LOG] Server started ... [06.01.2022 16:30.02.185] [LOG] Connecting socket for: updatenotification [06.01.2022 16:30.02.187] [LOG] Starting module helper: updatenotification [06.01.2022 16:30.02.189] [LOG] Connecting socket for: calendar [06.01.2022 16:30.02.190] [LOG] Starting node helper for: calendar [06.01.2022 16:30.02.191] [LOG] Connecting socket for: newsfeed [06.01.2022 16:30.02.192] [LOG] Starting node helper for: newsfeed [06.01.2022 16:30.02.193] [LOG] Sockets connected & modules started ... [06.01.2022 16:30.02.845] [LOG] Launching application. [8846:0106/163005.246382:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization [8886:0106/163005.631441:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. [06.01.2022 16:30.12.077] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 [06.01.2022 16:30.12.157] [LOG] Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [06.01.2022 16:30.12.258] [INFO] Checking git for module: default [06.01.2022 16:30.13.590] [INFO] Calendar-Fetcher: Broadcasting 10 events. [06.01.2022 16:30.13.638] [INFO] Newsfeed-Fetcher: Broadcasting 64 items. -
RE: v2.18.0 update gave black screen, then nothing.
It’s still throwing the log.log error!
pi@magicmirror:~/MagicMirror $ npm start > magicmirror@2.18.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js App threw an error during load TypeError: Log.log is not a function at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) at Module._compile (node:internal/modules/cjs/loader:1116:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) at Module.load (node:internal/modules/cjs/loader:988:32) at Module._load (node:internal/modules/cjs/loader:829:12) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) at Module._compile (node:internal/modules/cjs/loader:1116:14) (node:6752) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead. (Use `electron --trace-deprecation ...` to show where the warning was created) A JavaScript error occurred in the main process Uncaught Exception: TypeError: Log.log is not a function at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) at Module._compile (node:internal/modules/cjs/loader:1116:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) at Module.load (node:internal/modules/cjs/loader:988:32) at Module._load (node:internal/modules/cjs/loader:829:12) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) at Module._compile (node:internal/modules/cjs/loader:1116:14) [6808:0106/162138.316545:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization [6828:0106/162138.716857:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. -
RE: v2.18.0 update gave black screen, then nothing.
No, took me a while to restore one back from archive, but it’s there now, ready to go.
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'US Holidays', position: 'top_left', config: { calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' } ] } }, { module: 'compliments', position: 'lower_third' }, { module: 'currentweather', position: 'top_right', config: { location: 'New York', locationID: '', //ID from http://www.openweathermap.org appid: 'YOUR_OPENWEATHER_API_KEY' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'New York', locationID: '5128581', //ID from http://www.openweathermap.org appid: 'YOUR_OPENWEATHER_API_KEY' } }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}My versions:
pi@magicmirror:~ $ node -v v16.1.0 pi@magicmirror:~ $ npm -v 7.11.2NPM is different to yours, but OK to try?
-
RE: v2.18.0 update gave black screen, then nothing.
run those from
pi@magicmirror:~/MagicMirror $or
pi@magicmirror:~ $
Or, does it not matter?
-
RE: v2.18.0 update gave black screen, then nothing.
what is that? I’m not aware of any code in config for calendar
No idea, thought it had always been there. I’m not much of a coder, as I’m sure you can tell.// added
pi@magicmirror:~/MagicMirror $ pm2 start MagicMirror [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ]) [PM2] [MagicMirror](0) ✓ [PM2] Process successfully started ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 0 │ online │ 0% │ 2.4mb │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@magicmirror:~/MagicMirror $ pm2 logs --lines=50 [TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 50 lines: PM2 | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] online PM2 | 2022-01-06T14:50:49: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2022-01-06T14:50:49: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2022-01-06T14:50:49: PM2 log: pid=12707 msg=process killed PM2 | 2022-01-06T14:50:59: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-01-06T14:50:59: PM2 log: App [MagicMirror:0] online PM2 | 2022-01-06T15:51:52: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2022-01-06T15:51:53: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2022-01-06T15:51:53: PM2 log: pid=18675 msg=process killed PM2 | 2022-01-06T15:52:00: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-01-06T15:52:00: PM2 log: App [MagicMirror:0] online /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines: 0|MagicMir | 0|MagicMir | > magicmirror@2.18.0 start 0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMir | 0|MagicMir | 0|MagicMir | > magicmirror@2.18.0 start 0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMir | 0|MagicMir | 0|MagicMir | > magicmirror@2.18.0 start 0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMir | /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines: 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | (node:18699) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead. 0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created) 0|MagicMir | A JavaScript error occurred in the main process 0|MagicMir | Uncaught Exception: 0|MagicMir | TypeError: Log.log is not a function 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | [18754:0106/145107.193182:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization 0|MagicMir | [18773:0106/145107.559447:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. 0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|MagicMir | App threw an error during load 0|MagicMir | TypeError: Log.log is not a function 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | (node:32542) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead. 0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created) 0|MagicMir | A JavaScript error occurred in the main process 0|MagicMir | Uncaught Exception: 0|MagicMir | TypeError: Log.log is not a function 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | [32574:0106/155207.031878:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization 0|MagicMir | [32615:0106/155207.383004:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.