we have seen and verified that electron 8.5 and above are not working on raspian Jessie
but Jessie is pretty old…
u will see an error on npm start (after a version upgrade)
/home/pi/MagicMirror__RL1/node_modules/electron/dist/electron:
/lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror__RL1/node_modules/electron/dist/electron)
strongly recommended to rebuild a new sd card with raspian Buster
While trying to debug modules, I’ve been given quite mixed feedback regarding what to use to print messages to console, on either local system or in remote browser DevTools.
So far, I have found the only reliable way that always seem to print something in the browser, is using console.error(). The others have varied. I’m on MM v2.2.2 (master).
# put package-lock.json back to last git clone state
git reset package-lock.json
# update the module
git pull
# rerun npm install with new code
npm install
all in the module folder
lines are comments and will be ignored if you copy paste that whole thing