Read the statement by Michael Teeuw here.
Installing on a Pi Zero
-
@sdetweil said in Installing on a Pi Zero:
my intent is to submit this new installer to replace the project version…
I second the motion. :thumbsup:
-
@RushHour99 looks like something changed between April 11 and April 15 in the npm tree, as it skipped the electron-chromdriver on the 11th and tries to install it today. is IS because of the specton library that is in the DEV tree, which i request to be skipped with --only=prod
so much fun…
-
@Mykle1 yeh, they updated the repo version in 2.10, and were completely removed in 2.11 to an outside repo…
-
I got a new Pi Zero W, so I start a fresh install with a raspbian lite stretch (2019-04-08 version) but I got this error:
> electron-chromedriver@6.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js /home/pi/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js:19 if (err != null) throw err ^ Error: Failed to find Electron v6.0.0 for linux-armv6l at https://github.com/electron/electron/releases/download/v6.0.0/chromedriver-v6.0.0-linux-armv6l.zip
searching on electron: https://github.com/electron/electron/releases/tag/v6.0.0 I can’t find armv6 version.
Whats the problem?
my pi is too old?
I got the wrong raspbian version?
thanks -
I think electron is discontinued for raspberry pi zero, a few months ago I see a post in this forum talking about that. Now I can’t find that post.
-
@naked-head did you use the automated installer? it handles this issue…
electron is no longer available for the armv6l devices, and the default, manual npm install) will leave nothing installed…there is a side effect bug with npm… when my script runs, I request only the components needed for execution not for automated test, and the chromedriver is only used for automated testing… but npm didn’t pass on my request for only prod to sub modules…
it causes no harm, other than that message
you will have to run in split mode (serveronly + chromium-browser to view)…
there are a bunch of tricky setup things… I suggest using the installer script
also, lite does not include the graphical desktop, which is required, unless u intend to run headlesssee the installer script here
https://github.com/sdetweil/MagicMirror_scriptsall extra scripts were removed in 2.11, but referenced as ‘alternative’ install options…
in the online doc -
I used this script: https://github.com/ac2799/MagicMirrorPi0Installer following his guide.
I’ll try the script you suggest.
Thanks a lot -
That’s work!!!
And now the poor Pi Zero W had to do a lot of work :face_screaming_in_fear: -
@naked-head said in Installing on a Pi Zero:
And now the poor Pi Zero W had to do a lot of work
yes, it is only a pi0… !!
-
It seems this (the script OP posted) needs to be updated. I just tried this on the Raspberry Pi OS (based on Debian 10 “Buster”).
It failed. I believe mostly because npm kept reporting warnings about not supporting nodejs version 10, and errors about could not load, or missing requirements not installed.