Read the statement by Michael Teeuw here.
MagicMirror/node_modules/electron/dist/electron exited with signal SIGBUS
-
@frustrated SO much fun…
SO… lets try to reinstall electron
BUT it leans towards an sd card problem…
cd ~/MagicMirror rm -rf node_modules/electron npm install electron@22.3.4
then
npm start
and see what we get
-
Got your note, thanks. Here is what I did / happened.
spudz@raspberrypi:~ $ cd MagicMirror
spudz@raspberrypi:~/MagicMirror $ rm -rf node_modules/electron
spudz@raspberrypi:~/MagicMirror $ npm install electron@22.3.4added 1 package, and audited 785 packages in 40s
139 packages are looking for funding
runnpm fund
for details13 vulnerabilities (10 moderate, 2 high, 1 critical)
To address issues that do not require attention, run:
npm audit fixTo address all issues (including breaking changes), run:
npm audit fix --forceRun
npm audit
for details.
spudz@raspberrypi:~/MagicMirror $ npm audit fix --force
npm WARN using --force Recommended protections disabled.
npm WARN audit Updating node-ical to 0.18.0, which is a SemVer major change.added 1 package, removed 12 packages, changed 42 packages, and audited 774 packages in 2m
140 packages are looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
spudz@raspberrypi:~/MagicMirror $Will shutdown and restart, hope3fully this will fix…
Thank You -
@frustrated did you try it before reboot? MM is just an app… don’t need to reboot to test it
-
it works !!!
Thank you so much.
I did do a reboot just to be sure everything updates.
Thanks again -
@frustrated said in MagicMirror/node_modules/electron/dist/electron exited with signal SIGBUS:
I did do a reboot just to be sure everything updates.
yes, for sure… but did it work BEFORE rebooting??
anyhow…
you also have a backup of your mm, right?
if not, see
https://github.com/sdetweil/MagicMirror-backup-restoreand can be versioned with git …
-
-
@sdetweil said in MagicMirror/node_modules/electron/dist/electron exited with signal SIGBUS:
@frustrated SO much fun…
SO… lets try to reinstall electron
BUT it leans towards an sd card problem…
cd ~/MagicMirror rm -rf node_modules/electron npm install electron@22.3.4
then
npm start
and see what we get
root@magicmirror-test:/opt/magicmirror# npm start > magicmirror@2.31.0 start > npm run start:x11 Hi Sam, I can't get enough of this... This message with Elektron has something to do with the displaying, doesn't it? why are these error messages suddenly appearing in Proxmox with LXC containers? Look....these are now the latest error messages after installing your tips..: > magicmirror@2.31.0 start:x11 > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [0414/064255.384679:FATAL:electron_main_delegate.cc(299)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. /opt/magicmirror/node_modules/electron/dist/electron exited with signal SIGTRAP
-
@kusselin you cannot run electron from root user without additional parameters
you should logon as a normal user