• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

i think i'm close?

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 2 Posters 1.5k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    flipfloplife
    last edited by Oct 22, 2018, 6:13 PM

    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.log

    so. i used the google. and i did the following:

    npm cache clean --force
    delete node_modules folder
    delete package-lock.json file
    npm install

    this did not change the error I’m getting. thoughts?

    S 1 Reply Last reply Oct 22, 2018, 8:33 PM Reply Quote 0
    • S Offline
      sdetweil @flipfloplife
      last edited by sdetweil Oct 22, 2018, 8:33 PM Oct 22, 2018, 8:33 PM

      @flipfloplife are you doing this over SSH? or if the PI is in console mode?

      MM requires graphics mode… (display:0)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      F 1 Reply Last reply Oct 22, 2018, 8:41 PM Reply Quote 2
      • F Offline
        flipfloplife @sdetweil
        last edited by Oct 22, 2018, 8:41 PM

        @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.

        S 1 Reply Last reply Oct 22, 2018, 8:45 PM Reply Quote 0
        • S Offline
          sdetweil @flipfloplife
          last edited by Oct 22, 2018, 8:45 PM

          @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…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          F 1 Reply Last reply Oct 22, 2018, 10:54 PM Reply Quote 2
          • F Offline
            flipfloplife @sdetweil
            last edited by Oct 22, 2018, 10:54 PM

            @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 :)

            S 1 Reply Last reply Oct 22, 2018, 11:20 PM Reply Quote 0
            • S Offline
              sdetweil @flipfloplife
              last edited by Oct 22, 2018, 11:20 PM

              @flipfloplife great!.. thanks for the feedback

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              1 / 1
              • First post
                1/6
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy