Read the statement by Michael Teeuw here.
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
magicmirror@2.5.0 start: ‘sh run-start.sh’
sh run-start.sh(electron:4392): Gtk-WARNING **: cannot open display: :0
npm ERR! code ELIFECYCLE
npm ERR! code errno 1
npm ERR! magicmirror@2.5.0 start: ‘sh run-start.sh’
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.5.0 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.logso. i used the google. and i did the following:
npm cache clean --force
delete node_modules folder
delete package-lock.json file
npm installthis 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)
-
@sdetweil right on the pi. ok – so do i just adjust the run-start.sh to reflect device 0? i just left it the way it installed.
-
@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…
-
-
@flipfloplife great!.. thanks for the feedback
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login