Read the statement by Michael Teeuw here.
Can't upgrade MM 2.7.0 on Raspberry Pi Zero W
-
Hi @MichMich I’ve just try to update my mirrors to version 2.7.0. I’ve got one mirror with raspberry pi zero W, and another one with Raspberry Pi 3B.
It seems the one with RPI 3B updates correctly, but when I try to update the mirrror with RPI ZeroW I get the following error with electron:
Error: GET https://github.com/electron/electron/releases/download/v3.0.13/electron-v3.0.13-linux-armv6l.zip returned 404
That url doesn’t work.
How can I solved it?
Thanks!
-
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