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.

    Magic Mirror will not start

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 2.6k 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.
    • E Offline
      elporcho
      last edited by

      0_1542313127413_MMnostart.PNG

      Trying to create a magic mirror with google home integration through the use of the voice kit (1.0). I had issues with npm not being present at first, thought i fixed that, got pm2 installed and tried to get everything running, but it wont start at all. Now i’m pretty lost. Thanks for the help.

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @elporcho
        last edited by

        @elporcho ‘permission denied’ sounds like you used sudo npm install, which leaves files owned by root, not the normal pi user.

        Best to erase and start again

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • E Offline
          elporcho
          last edited by

          Sorry i’m pretty much a complete noob with linux. Should i be re-imaging the SD card, or is there a simpler way to clear out the installs i did wrong.

          Also, what should i do instead of “sudo npm install”? I just followed instructions as I saw them, so I’m not even sure which installation you’re referring to. Sorry for my ignorance.

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @elporcho
            last edited by

            @elporcho from the home folder ( cd ~ ), do sudo -rf rm MagicMirror

            Then clone the mm repo again, then cd MagicMirror, then npm install

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • E Offline
              elporcho
              last edited by elporcho

              I appreciate the help. I did sudo -rf rm MagicMirror and it gave the the following error:
              rm: cannot remove ‘MagicMirror’: Is a directory
              I also tried rmdir, but it says Directory not empty.

              1 Reply Last reply Reply Quote 0
              • E Offline
                elporcho
                last edited by

                0_1542317689142_MMnostart2.PNG
                Seems that I’ve got it re-installed, but now npm install still does nothing.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  elporcho
                  last edited by

                  I was going to follow the instructions here for auto-starting magic mirror:
                  https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    elporcho
                    last edited by

                    Huh, it appears the work i did before deleting and reinstalling the MagicMirror directory for the auto-start held over and it is working now. Thanks for dealing with me!

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