i think i'm close?
ok – followed instructions here: https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6 by kirash4
new pi3. everything from format card through mirror install went seemingly well (no errors that i could see) – until i type npm start. then i get
(electron:4392): Gtk-WARNING **: cannot open display: :0
npm ERR! code ELIFECYCLE
npm ERR! code errno 1
npm ERR! email@example.com start: ‘sh run-start.sh’
npm ERR! Exit status 1
npm ERR! Failed at the firstname.lastname@example.org start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-10-22T18+03_34_626Z-debug.log
so. i used the google. and i did the following:
npm cache clean --force
delete node_modules folder
delete package-lock.json file
this did not change the error I’m getting. thoughts?
@flipfloplife are you doing this over SSH? or if the PI is in console mode?
MM requires graphics mode… (display:0)
@flipfloplife you could still be in text mode (console mode) vs the graphical desktop…
xwindows is display:0, so you shouldn’t have to change anything…
@sdetweil HEY !! IT WORKS!!! THANKS @sdetweil !!! ha – first pi project – working ! (had no idea that being in console mode (now i know that word) was different than being in a console “window” (?) inside the graphical desktop — THAT clicked it) – neat
@flipfloplife great!.. thanks for the feedback