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

MagicMirror not working anymore

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 3 Posters 4.1k Views 3 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.
  • A Offline
    AnduriI
    last edited by Dec 6, 2017, 7:50 PM

    Hey there,

    I tried to get the MMM-Motion-Detection working but did not succeed so far. But now my MagicMirror is not starting anymore. Maybe I did some additional changes, I’m not shure if there was anything important during tests. I got these logs from pm2 monit:

    MagicMirror >     at Module._compile (module.js:570:32)                                         x
    MagicMirror >     at Object.Module._extensions..js (module.js:579:10)                           x
    MagicMirror >     at Module.load (module.js:487:32)                                             x
    MagicMirror >     at tryModuleLoad (module.js:446:12)                                           x
    MagicMirror >     at Function.Module._load (module.js:438:3)                                    x
    MagicMirror >     at Module.require (module.js:497:17)                                          x
    PM2 > App [MagicMirror] with id [0] and pid [4704], exited with code [1] via signal [SIGINT]    x
    PM2 > Starting execution sequence in -fork mode- for app name:MagicMirror id:0                  x
    PM2 > App name:MagicMirror id:0 online                                                          x
    MagicMirror > Error: ENOENT: no such file or directory, open 'package.json'                     x
    MagicMirror >     at Error (native)                                                             x
    MagicMirror >     at Object.fs.openSync (fs.js:642:18)                                          x
    MagicMirror >     at Object.fs.readFileSync (fs.js:510:33)                                      x
    MagicMirror >     at Object. (/home/pi/MagicMirror/js/app.js:15:32)                  x
    MagicMirror >     at Module._compile (module.js:570:32)                                         x
    MagicMirror >     at Object.Module._extensions..js (module.js:579:10)                           x
    MagicMirror >     at Module.load (module.js:487:32)                                             x
    MagicMirror >     at tryModuleLoad (module.js:446:12)                                           x
    MagicMirror >     at Function.Module._load (module.js:438:3)                                    x
    MagicMirror >     at Module.require (module.js:497:17)    
    

    Can anyone help me with that error? For me it looks like a problem in the core /js/app.js, but I#m a noob on these things…

    Regards,
    Anduril

    M S 2 Replies Last reply Dec 6, 2017, 8:33 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @AnduriI
      last edited by Dec 6, 2017, 8:33 PM

      @AnduriI said in MagicMirror not working anymore:

      Maybe I did some additional changes,

      Maybe you should reinstall MM. It takes less than 30 minutes.

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @AnduriI
        last edited by Dec 6, 2017, 8:52 PM

        @AnduriI said in MagicMirror not working anymore:

        Error: ENOENT: no such file or directory, open ‘package.json’

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 0
        • A Offline
          AnduriI
          last edited by Dec 7, 2017, 7:09 AM

          @mykle1 so simply rm -r MagicMirror? Or do I have to clean anything else before reinstall?
          @strawberry the file itself looks quite normal and I don’t know what to look for. No entry for /js/app.js as far as I see. Maybe you can give me a hint?

          M 1 Reply Last reply Dec 7, 2017, 12:16 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @AnduriI
            last edited by Dec 7, 2017, 12:16 PM

            @AnduriI

            I’ve reinstalled without removing a thing, wanting to save certain things from a previous install. You can do this by simply renaming your current MagicMirror folder.

            If you want to completely remove your previous installation:

            rm -rf MagicMirror

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • A Offline
              AnduriI
              last edited by Dec 7, 2017, 2:34 PM

              well I did move the old folder and did a fresh install with the installer script, but it still gives the same errors. Maybe I did something wrong during installation of the dependencies of MMM-Motion-Detection. Any clue of what that might be or where I can find a log that might shine some light on?

              M 1 Reply Last reply Dec 7, 2017, 9:07 PM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @AnduriI
                last edited by Dec 7, 2017, 9:07 PM

                @AnduriI

                Hold on. Did you try to install MMM-Motion-Detection again? Or are you saying you have errors immediately following the install of MagicMirror?

                Can you post your terminal output?

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AnduriI
                  last edited by Dec 9, 2017, 7:20 PM

                  well I’m not shure what happened, but I think I called npm install python-shell instead of just using npm installinside the module folder (which would have installed python-shell correctly.
                  I just started from scratch and took a fresh jessie image.

                  M 1 Reply Last reply Dec 9, 2017, 9:34 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @AnduriI
                    last edited by Dec 9, 2017, 9:34 PM

                    @AnduriI

                    Uhh . . .

                    Create a working config
                    How to add modules

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