Read the statement by Michael Teeuw here.
YAPi0 Installer Stretch Lite
-
@bdream said in YAPi0 Installer Stretch Lite:
start your script fails . And it failed
please post the contents of ~/install.log
-
Ohh sdetweil, my bad. I overwrote the SD-card already with the new image. I have to learn how to work with forum and being sensitive for upcoming questions/requests.
For now I started your script again an it seems it’s running :sleeping_face:
I wonder as I have on screen a warning
npm WARN npm npm does not support Node.js v10.15.2 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest releases of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js + npm@6.11.3 added 430 packages from 833 contributors in 433.321s npm installation Done! Cloning MagicMirror ... Klone nach 'MagicMirror' ... remote: Enumerating objects: 315, done. remote: Counting objects: 100% (315/315), done. remote: Compressing objects: 100% (282/282), done. remote: Total 315 (delta 39), reused 193 (delta 21), pack-reused 0 Empangene Obekte: 100% (315/315), 655.08 KiB | 867.00 KiB/s, Fertig. Löse Unterschiede auf: 100% (39/39), Fertig. Cloning MagicMirror Done! Installing dependencies ... npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates. > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js
That is the position cursor is blinking and nothing change since a long time.
Here you are the install.log from actual running? installation.
install starting - So Sep 22 18:22:15 CEST 2019 installing on armv6l processor system forcing armv71 architecture for pi 0 [96mUpdating packages ...[90m [96mInstalling helper tools ...[90m [96mCheck current Node installation ...[0m [93mNode.js is not installed.[0m [96mInstalling Node.js ...[90m [92mNode.js installation Done! version=v10.15.2[0m [96mCheck current NPM installation ...[0m [93mnpm is not installed.[0m [96mInstalling npm ...[90m upgrading npm to latest [92mnpm installation Done![0m [96mCloning MagicMirror ...[90m [92mCloning MagicMirror Done![0m [96mInstalling dependencies ...[90m
Cheers, bdream
-
Oh boy, so bad.
Maybe I don’t understand what I’m doing here.
install.log has not changed but MM ist also not running.
After I stopped above stated blinking curser with Ctrl - C> electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js
I did install MM
cd ~/MagicMirror npm install
after I did
npm install pm@latest -g
what failed.
I’m :pouting_face:
Do I go total wrong way here?
Where is my fault?Maybe it’s that I’m not clear in what will your script do and what have I to do additional and in which sequence?
Have you any advise to me please?
Many thanks fpor your help! bdream
-
@bdream my script should do EVERYTHING…
the chromedriver install had a problem…
can u do this
cd /home/pi/MagicMirror/node_modules/electron-chromedriver node ./download-chromedriver.js
and show me what the results are…
thanks
-
Hi Sam,
as I get Error replaying with code inside:
I will attach requested resukt as jpg-filecheers, bdream
-
@bdream
hmm…try this from the MagicMirror folder
npm install --arch=armv7l electron-chromedriver@1.8.0
-
Here it is…
pi@RasPiZeroWH:~/MagicMirror $ npm install --arch=armv7l electron-chromedriver@1.8.0 > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver > node ./download-chromedriver.js successfully dowloaded and extracted! npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself. + electron-chromedriver@1.8.0 updated 1 package and audited 3773 packages in 640.327s found 16 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details pi@RasPiZeroWH:~/MagicMirror $
cheers, bdream
-
@bdream weird. Works normal, fails in script.
So, do this.
cd ~/MagicMirror npm install --arch=armv71
Please advise your results
-
see here:
pi@RasPiZeroWH:~/MagicMirror $ npm install --arch=armv71 > magicmirror@2.8.0 install /home/pi/MagicMirror > cd vendor && npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 220 packages in 69.246s found 5 vulnerabilities (4 low, 1 high) run `npm audit fix` to fix them, or `npm audit` for details > magicmirror@2.8.0 postinstall /home/pi/MagicMirror > sh installers/postinstall/postinstall.sh && npm run install-fonts MagicMirror installation successful! > magicmirror@2.8.0 install-fonts /home/pi/MagicMirror > cd fonts && npm install audited 1 package in 7.131s found 0 vulnerabilities npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself. audited 3773 packages in 413.334s found 16 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details
cheers, bdream
-
@bdream all good!
Make sure to copy the sample config.js to config.js in the config folder.
Then npm start