Read the statement by Michael Teeuw here.
Installing on a Pi Zero
-
ah, ok… i see you followed the manual instructions back a few posts…
i have a modified raspberry.sh I have for testing, that takes user into account
https://www.dropbox.com/s/izj6dz2z9557oga/raspberry.sh?dl=0
to use it like normal
bash -c “$(curl -sL https://www.dropbox.com/s/izj6dz2z9557oga/raspberry.sh?dl=0)”
-
If I try to install magic mirror on the pi zero i get an error that electron 3.0.13 not found for armv6 , by editing the package.json file to specify electron 2.0.18. I can get it to work, although I cannot find a version of electron for armv6 on the electron repo. Any idea why 2.0.18 would work? What would I need to try to compile electron 3 for armv6?
https://github.com/electron/electron/releases/tag/v2.0.18
Thanks!
-
@johnnyt1111 download the electron source and follow the build process
-
@johnnyt1111 why work. Cause electron 2.0.18 binary exists and 3.0.13 does not. There may be a technical reason, or they skipped it due to low demand.
-
I’ve found the same problem on last MM update:
https://forum.magicmirror.builders/topic/10188/can-t-upgrade-mm-2-7-0-on-raspberry-pi-zero-w/2
-
@sdetweil Thanks for the reply, I’m surprised the 2.0.18 even exists for armv6 as the electron issues states they don’t support it and is not listed in the releases page. but as long as it works I’m ok with that, thanks!
-
@qu1que Thanks for the link! Glad I’m not the only looking into this problem, hopefully we can get electron 3 working on the pi zero. but updating the package.json electron to “^2.0.0” will install 2.0.18 and will work with latest version of magic mirror
-
can you explain in detail how to do it? I’m new and have the same problem
-
@liamangelus git clone the mm repo from GitHub.
Then edit the package.json file and change the number behind electron to the string mentioned above “^2.0.0”Then follow the manual install steps from the readme
-
After editing the electron version in the package.json as ^ 2.0.0, I will apply the other steps in the same way. If I encounter a problem I would like to help you again. Thanx a lot.