some coding issues
Closed this issue · 2 comments
Hi Guys,
i have installed the module and updated my config.js file and i am able to connect to the remote.
However i am getting the below message when i run npm run start on MagicMirror
[2020-08-06 21:40:58.178] [ERROR] MODULE LIST ERROR: modules.json updating fail
:EACCES: permission denied, open '/home/pi/MagicMirror/modules/MMM-Remote-Control/modules.json'
[2020-08-06 21:40:58.179] [ERROR] ERROR_UPDATING
[2020-08-06 21:40:59.566] [INFO] Checking git for module: MMM-Remote-Control
[2020-08-06 21:40:59.645] [ERROR] error: cannot open .git/FETCH_HEAD: Permission denied
Also whenever i make any changes with the remote i get the below error also:
[2020-08-06 21:48:57.332] [ERROR] Whoops! There was an uncaught exception...
[2020-08-06 21:48:57.333] [ERROR] [Error: EACCES: permission denied, open '/home/pi/MagicMirror/modules/MMM-Remote-Control/settings.json'] {
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/home/pi/MagicMirror/modules/MMM-Remote-Control/settings.json'
}
[2020-08-06 21:48:57.341] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2020-08-06 21:48:57.342] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
I'm quite new to all this so any help would be greatly appreciated.
Kind Regards
Michael
So yea, as you can see this repository is kinda dead. Anyways, I'm gonna try to help you and surely we'll see what's going on.
Surely the problem is that the module doesn't have the ability to open those files. If you're on a Linux-based environment such as RPi or Ubuntu, you could try using chmod
to change the permissions over those files.
I didn't receive any answer from this issue in a long time, so I guess it's resolved. Feel free to create another issue if you feel like your problem wasn't resolved at all. Cheers ;D