Read the statement by Michael Teeuw here.
Can't upgrade MM 2.7.0 on Raspberry Pi Zero W
-
Looks like electron 3.x is no longer available for the pi zero.
I had to go back to the old version:
diff --git a/package.json b/package.json index 14c7874..7a2aff4 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "ajv": "6.5.5", "body-parser": "^1.18.2", "colors": "^1.1.2", - "electron": "^3.0.13", + "electron": "^2.0.18", "express": "^4.16.2", "express-ipfilter": "0.3.1", "feedme": "latest",
See also: https://github.com/MichMich/MagicMirror/issues/1500 ; I just undid the change from that patch.
Not sure if that has any other implications, for now this is still installing/building, let’s see if this works.
Max
-
The thing is that I’ve updated MM, but it returns me that error on rpi Zero, but the final result is that MM finally is updated, and everything works ok in all the modules I have installed. How can I downgrade to the old version of electron?
Thanks.
Quique.
-
did you find any solution to this issue?
-
No at this moment. Here there is another user with the same problem:
https://forum.magicmirror.builders/topic/9386/installing-on-a-pi-zero/52?page=6
-
I would also like to know… How can I downgrade to the old version of electron?
-
@tjk031 edit the package.json and change the electron version from ^3.0.13 to ^2.0.4
then erase node_modules
rm -rf node_modules
and then
npm install
again
-
Thanks!!!
-
Again the same problem when updating to 2.8.0 version