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.

    MagicMirror fails to start

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    12 Posts 2 Posters 2.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.
    • S Offline
      sdetweil @droidus
      last edited by sdetweil

      @droidus what display are u using on the pi?

      must have something, running in graphics mode, not text mode.

      do u see the temples when u boot the pi?

      do

      echo $DISPLAY
      DISPLAY=
      

      then

      npm start
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • D Offline
        droidus
        last edited by

        I am using the default one that comes with raspbian os.
        :0.0
        I get this error message: no such file or directory, open ‘/home//package.json’.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @droidus
          last edited by

          @droidus have to be IN the MagicMirror folder for npm start

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            droidus @sdetweil
            last edited by

            @sdetweil said in MagicMirror fails to start:

            @droidus have to be IN the MagicMirror folder for npm start

            I get the same error as before about a magic-cookie.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @droidus
              last edited by sdetweil

              @droidus no idea, did u install as pi and now running as another user?

              did u install as root (using sudo), now running as pi?

              see https://askubuntu.com/questions/1238389/invalid-mit-magic-cookie-1-key-message-while-running-a-program-with-the-termin

              if you used my script (just copy/paste the one line from my github page) , logged on as pi, it should have done everything for you

              what I do

              use the OS imager tool, install the latest OS image (full desktop, code name buster) on the sd card
              boot the sd card,
              turn on ssh
              reboot the sd card

              logon via ssh from windows (or linux) machine
              copy/paste my install script line into the ssh terminal window
              wait…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              • First post
                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