Read the statement by Michael Teeuw here.
YAPi0 Installer Stretch Lite
-
@ stuartiannaylor
That sounds like exacly what I’m looking for :thumbs_up:
I finished my first MagicMirror and looking for tuning options.
As exp. I would like to small the case a bit and would be happy to use Rpi0 instead of Rpi3.I followed your instruction “MagicMirror-Install-Guide-Raspberry-0-to-3”
I installed a new raspbian “Raspbian Buster with desktop”
may this cause my issues not using “Raspbian Buster Lite”?I run in problem with command
cd ~/MagicMirror/ && npm install
as I got many WARN and ERR messages. I’m not alowed to attach because the file type is .log so I will paste only the WARN and ERR instead of the whole log-file.
11359 timing action:extract Completed in 111604ms 11360 silly extract lodash@^4.17.13 extracted to /home/pi/MagicMirror/node_modules/.staging/lodash-dee8f977 (111572ms) 11361 warn tar ENOENT: no such file or directory, open '/home/pi/MagicMirror/node_modules/.staging/moment-fbf25dd9/min/moment-with-locales.js' 11362 warn tar ENOENT: no such file or directory, open '/home/pi/MagicMirror/node_modules/.staging/lodash-20df1054/core.min.js' 11363 warn tar ENOENT: no such file or directory, open '/home/pi/MagicMirror/node_modules/.staging/lodash-24d00653/core.min.js' . . . // many similar WARN messages . . . 12301 warn tar ENOENT: no such file or directory, open '/home/pi/MagicMirror/node_modules/.staging/rrule-21671673/dist/es5/rrule-tz.js.map' 12302 timing stage:rollbackFailedOptional Completed in 170ms 12303 timing stage:runTopLevelLifecycles Completed in 545603ms 12304 silly saveTree magicmirror@2.8.0 12304 silly saveTree ├─┬ chai-as-promised@7.1.1 12304 silly saveTree │ └── check-error@1.0.2 12304 silly saveTree ├─┬ chai@4.2.0 12304 silly saveTree │ ├── assertion-error@1.1.0 . . 12304 silly saveTree │ ├── parse-ms@1.0.1 12304 silly saveTree │ └── plur@1.0.0 12304 silly saveTree └── valid-url@1.0.9 12305 warn grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself. 12306 verbose type system 12307 verbose stack FetchError: request to https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443 12307 verbose stack at ClientRequest.req.on.err (/home/pi/.config/versions/node/v10.16.3/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14) 12307 verbose stack at ClientRequest.emit (events.js:198:13) 12307 verbose stack at TLSSocket.socketErrorListener (_http_client.js:392:9) 12307 verbose stack at TLSSocket.emit (events.js:198:13) 12307 verbose stack at emitErrorNT (internal/streams/destroy.js:91:8) 12307 verbose stack at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) 12307 verbose stack at process._tickCallback (internal/process/next_tick.js:63:19) 12308 verbose cwd /home/pi/MagicMirror 12309 verbose Linux 4.19.66+ 12310 verbose argv "/home/pi/.config/versions/node/v10.16.3/bin/node" "/home/pi/.config/versions/node/v10.16.3/bin/npm" "install" 12311 verbose node v10.16.3 12312 verbose npm v6.9.0 12313 error code EAI_AGAIN 12314 error errno EAI_AGAIN 12315 error request to https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443 12316 verbose exit [ 1, true ]
Any idea :nerd_face: what to do getting the RasPi0 run?
Hold in mind what happen in case of newer MagicMirror software or other updates need to run automaticly.Many thanks, bdream
-
@bdream try my updated installer, I am working to get this to replace the current version…
see https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer
others have reported it works ok on Pi zerorename the MagicMirror folder or remove it before running the installer
-
ok, many thanks! :grinning_face: I will try it now.
Just deleted the MagicMirror folder…If I understand you correctly the new script will replace the old one as:
~~curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash~~ bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
but all other in your manual will stay. Right?
CU, bdream
-
@bdream the installer also fixes pm2 and the screen saver
and creates a log of the install process resultsi don’t think u will need the other steps in the pi0 manual anymore
-
thanks for this info, so I know what to do if my attempt to fix first installation only by deleting /MagicMirror and start your script fails :frowning_face: :winking_face:. And it failed :frowning_face:
I get a new “Raspbian Buster Lite” now and start again :nerd_face:
Will let you know about the outcome. It will take long time :sleeping_face:
Best gerads, bdream
-
@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