Read the statement by Michael Teeuw here.
So ... to update MagicMirror I would ... ??
-
@MichMich said in So ... to update MagicMirror I would ... ??:
npm install electron@1.4.15
pi@ham-raspi:~/MagicMirror $ npm install electron@1.4.15
electron@1.4.15 postinstall /home/pi/MagicMirror/node_modules/electron
node install.js- @types/node@8.10.1 node_modules/@types/node
magicmirror@2.3.0 /home/pi/MagicMirror
└── electron@1.4.15 invalid
Node v6.12.3
- @types/node@8.10.1 node_modules/@types/node
-
Uhhmm… thats odd. It’s just a command to downgrade electron.
-
It seems to fix the issue for others. Not sure why you are unable to downgrade electron.
https://github.com/MichMich/MagicMirror/issues/1243Could you reboot and try again @harry?
-
@MichMich said in So ... to update MagicMirror I would ... ??:
It seems to fix the issue for others. Not sure why you are unable to downgrade electron.
https://github.com/MichMich/MagicMirror/issues/1243Could you reboot and try again @harry?
Yep. Reboot helped.
Rebooted, stopped MagicMirror and then the downgrade worked.
MagicMirror is up and running again!Thanks a lot!
-
@MichMich well-done.
-
Solution in this thread https://github.com/MichMich/MagicMirror/issues/1243
in MagicMirror Folder
npm install electron@1.4.15
-
You guys should probaly do
pm2 stop mm; pm2 kill
to make sure it’s not running in the background.Also, AFAIK, I think if you do
git reset --hard
you’d loose all your old config settings and other changes you’ve made? -
@E3V3A The Config & Modules folder are not part of the Git repro. All other changes are overwritten.
-
I’ve released an update: https://github.com/MichMich/MagicMirror/releases/tag/v2.3.1
-
Just to say it…
It seem that many people having problems, are running something out dated.
Either: nodejs, npm, or pm2.Because of the incredible dependency chain involved for node packages, I can only assume that using a newer versions of one package, will also require a newer version of the package depending on it, and possibly vice versa. Of course when things are working, it all beautiful, but it seem very easy that it doesn’t.