Read the statement by Michael Teeuw here.
MagicMirror not working anymore
-
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 -
@AnduriI said in MagicMirror not working anymore:
Maybe I did some additional changes,
Maybe you should reinstall MM. It takes less than 30 minutes.
-
@AnduriI said in MagicMirror not working anymore:
Error: ENOENT: no such file or directory, open ‘package.json’
-
@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.jsas far as I see. Maybe you can give me a hint? -
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 -
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?
-
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?
-
well I’m not shure what happened, but I think I called
npm install python-shellinstead of just usingnpm installinside the module folder (which would have installed python-shell correctly.
I just started from scratch and took a fresh jessie image. -
Uhh . . .
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login