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 wont start!

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 564 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.
    • L Offline
      larryE
      last edited by

      I have had my magic mirror running for more than two years.
      I have a crontab that turns it off at night and a time that turns in on in the morning. Lately when it boots in the morning The Os boots up but the mirror app wont come up. After recycling the power it will come up again. But now It wont com up at all.
      This is the message it get when I run pm2 start mm:

      pi@Magicmirror:~ $ pm2 start mm
      internal/modules/cjs/loader.js:638
      throw err;
      ^

      Error: Cannot find module ‘fclone’
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
      at Function.Module._load (internal/modules/cjs/loader.js:562:25)
      at Module.require (internal/modules/cjs/loader.js:692:17)
      at require (internal/modules/cjs/helpers.js:25:18)
      at Object. (/usr/lib/node_modules/pm2/lib/API.js:16:21)
      at Module._compile (internal/modules/cjs/loader.js:778:30)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
      at Module.load (internal/modules/cjs/loader.js:653:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      pi@Magicmirror:~ $

      Any help would be appreciated.

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @larryE
        last edited by

        @larryE I would try

        pm2 update
        or
        reinstall pm2

        pm2 unstartup
        — execute the command it gives you
        npm install -g pm2
        (may need sudo in front of that)
        pm2 startup
        — execute the command it gives you

        pm2 start mm
        pm2 save

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @larryE thought I had posted

          sudo npm install fclone -g

          this is starting to sound like corrupt sd card…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • L Offline
            larryE
            last edited by

            I spent the last three days rebuilding my mirror with a new SD card. Same of the apps were not compatible with the new mirror os. I had to do a lot of relearning.
            IMG-1789.jpg

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