Thanks, I will take a look. I was not familiar with that module!
Read the statement by Michael Teeuw here.
Posts
-
RE: Incorporating a Security Cam/Webcam into MagicMirror?
-
Incorporating a Security Cam/Webcam into MagicMirror?
Hello, I recently purchased a Kasa Smart Camera, and it does work great. It is basically a pet monitor–watching our new dog in the living room. I was wondering if there was a way to set it up so that when it detects motion, it could display on my MagicMirror. It does not have to be a constant stream, but I was wonder what I might be able to get it to do. Any suggestions/help appreciated. Thanks.
-
RE: MM Not Displaying after update
@sdetweil Thank you so very much! It looks like that was the last piece of the puzzle! I think it is working totally now. And, believe it or not, the thing that sent me down this entire path in the first place, the PushBulletNotifications module, is now working, too!
I will see if anything strange happens over the next few hours, but I think we are good now!
Thanks again!
-
RE: MM Not Displaying after update
@sdetweil I went ahead and added all of my modules back one on one, and they are working. Whew. Now, when I go back out to the raspberrypi prompt in the terminal, and put in,
pm2 start MagicMirror, it says it is online, but it does not start. It says it is online, but it does not start.
When I npm start from that folder, however, everything is working.
-
RE: MM Not Displaying after update
@sdetweil Okay, I have cleaned up my config and I am now slowly adding back modules one by one and testing. I might not finish this tonight, but I still appreciate your help on all of this.
-
RE: MM Not Displaying after update
@sdetweil Okay, so when it says 'no helper found for the module, it is missing the node_helper,js, correct?
-
RE: MM Not Displaying after update
@sdetweil When I run npm start, I just get a black screen. Does this mean every one of my modules is wrong?
-
RE: MM Not Displaying after update
@sdetweil Thank you…quick question, as I have followed your above steps…what if the module does not have the package.json file? Should I continue with those that do and then to the pm2 to start, or do I need to go back and do something with those modules that do not have the package.json file before I npm start?
-
RE: MM Not Displaying after update
@sdetweil Thank you so much for your help on this. I ran your script, and the MagicMirror was working minus my modules, of course. I copied over my config file, and only three of my modules displayed. I rebooted my raspberry pi, and then MagicMirror would not display at all. Here are the logs:
Use `pm2 show <id|name>` to get more details about an app pi@raspberrypi:~ $ pm2 logs MagicMirror [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option) /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | [09.08.2021 01:34.41.419] [LOG] Connecting socket for: currentweather 0|MagicMir | [09.08.2021 01:34.41.423] [LOG] Connecting socket for: newsfeed 0|MagicMir | [09.08.2021 01:34.41.425] [LOG] Starting node helper for: newsfeed 0|MagicMir | [09.08.2021 01:34.41.426] [LOG] Sockets connected & modules started ... 0|MagicMir | [09.08.2021 01:34.42.061] [LOG] Launching application. 0|MagicMir | [09.08.2021 01:34.49.566] [LOG] Shutting down server... 0|MagicMir | [09.08.2021 01:36.01.706] [LOG] Starting MagicMirror: v2.16.0 0|MagicMir | [09.08.2021 01:37.27.498] [LOG] [SIGINT] Received. Shutting down server... 0|MagicMir | [09.08.2021 01:37.29.125] [LOG] Starting MagicMirror: v2.16.0 0|MagicMir | [09.08.2021 02:01.15] [LOG] [SIGINT] Received. Shutting down server... 0|MagicMir | [09.08.2021 02:01.17.151] [LOG] Starting MagicMirror: v2.16.0 0|MagicMir | [09.08.2021 02:06.47.453] [LOG] [SIGINT] Received. Shutting down server... 0|MagicMir | [09.08.2021 02:06.49.001] [LOG] Starting MagicMirror: v2.16.0 0|MagicMir | [09.08.2021 02:07.10.237] [LOG] [SIGINT] Received. Shutting down server... 0|MagicMir | [09.08.2021 02:07.11.810] [LOG] Starting MagicMirror: v2.16.0 /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:778:12) 0|MagicMir | [09.08.2021 02:07.11.831] [ERROR] Whoops! There was an uncaught exception... 0|MagicMir | [09.08.2021 02:07.11.835] [ERROR] TypeError: Cannot read property 'on' of undefined 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:98:5) 0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:1072:14) 0|MagicMir | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10) 0|MagicMir | at Module.load (internal/modules/cjs/loader.js:937:32) 0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:778:12) 0|MagicMir | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:75:21) 0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:1072:14) 0|MagicMir | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10) 0|MagicMir | at Module.load (internal/modules/cjs/loader.js:937:32) 0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:778:12) 0|MagicMir | [09.08.2021 02:07.11.837] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [09.08.2021 02:07.11.839] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issuesI do have an internet connection working, so that is not the issue…you see anything?
Thanks again.
-
RE: MM Not Displaying after update
@sdetweil Thanks, I am doing this now. Will respond back when I finish…
-
RE: MM Not Displaying after update
@sdetweil I executed that command, and it returned a LOT of results.
pi@raspberrypi:~ $ pm2 logs --lines=100 [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 100 lines: PM2 | [2021-08-08T22:29:56.400Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:29:56.447Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:29:59.262Z] PM2 log: App [mm] with id [0] and pid [855], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:29:59.268Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:29:59.281Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:01.122Z] PM2 log: App [mm] with id [0] and pid [932], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:01.127Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:01.138Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:02.980Z] PM2 log: App [mm] with id [0] and pid [962], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:02.984Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:02.995Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:04.800Z] PM2 log: App [mm] with id [0] and pid [992], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:04.805Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:04.816Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:06.749Z] PM2 log: App [mm] with id [0] and pid [1010], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:06.753Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:06.764Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:08.579Z] PM2 log: App [mm] with id [0] and pid [1040], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:08.586Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:08.598Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:10.468Z] PM2 log: App [mm] with id [0] and pid [1070], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:10.473Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:10.484Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:12.511Z] PM2 log: App [mm] with id [0] and pid [1088], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:12.514Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:12.525Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:14.368Z] PM2 log: App [mm] with id [0] and pid [1128], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:14.371Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:14.381Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:16.296Z] PM2 log: App [mm] with id [0] and pid [1158], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:16.300Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:16.311Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:39.892Z] PM2 log: App [mm] with id [0] and pid [1188], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:39.895Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:39.906Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:41.774Z] PM2 log: App [mm] with id [0] and pid [1208], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:41.779Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:41.789Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:43.634Z] PM2 log: App [mm] with id [0] and pid [1226], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:43.637Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:43.648Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:45.549Z] PM2 log: App [mm] with id [0] and pid [1259], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:45.553Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:45.563Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:47.471Z] PM2 log: App [mm] with id [0] and pid [1289], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:47.476Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:47.487Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:47.852Z] PM2 log: Stopping app:mm id:0 PM2 | [2021-08-08T22:30:47.936Z] PM2 log: App [mm] with id [0] and pid [1313], exited with code [0] via signal [SIGINT] PM2 | [2021-08-08T22:30:48.032Z] PM2 log: pid=1313 msg=process killed PM2 | [2021-08-08T22:30:48.037Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:48.048Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:49.923Z] PM2 log: App [mm] with id [0] and pid [1334], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:49.928Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:49.938Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:51.823Z] PM2 log: App [mm] with id [0] and pid [1352], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:51.826Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:51.839Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:53.696Z] PM2 log: App [mm] with id [0] and pid [1382], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:53.701Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:53.711Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:55.542Z] PM2 log: App [mm] with id [0] and pid [1400], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:55.546Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:55.562Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:57.487Z] PM2 log: App [mm] with id [0] and pid [1430], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:57.492Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:57.502Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:30:59.380Z] PM2 log: App [mm] with id [0] and pid [1460], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:30:59.384Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:30:59.394Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:01.224Z] PM2 log: App [mm] with id [0] and pid [1478], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:31:01.227Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:31:01.238Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:03.115Z] PM2 log: App [mm] with id [0] and pid [1508], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:31:03.118Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:31:03.128Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:04.939Z] PM2 log: App [mm] with id [0] and pid [1538], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:31:04.943Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:31:04.952Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:06.819Z] PM2 log: App [mm] with id [0] and pid [1556], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:31:06.822Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:31:06.832Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:08.698Z] PM2 log: App [mm] with id [0] and pid [1586], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:31:08.701Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:31:08.712Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:10.517Z] PM2 log: App [mm] with id [0] and pid [1604], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:31:10.520Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:31:10.530Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:12.460Z] PM2 log: App [mm] with id [0] and pid [1634], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:31:12.464Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:31:12.474Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:14.300Z] PM2 log: App [mm] with id [0] and pid [1664], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:31:14.304Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:31:14.318Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:16.267Z] PM2 log: App [mm] with id [0] and pid [1682], exited with code [1] via signal [SIGINT] PM2 | [2021-08-08T22:31:16.274Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | [2021-08-08T22:31:16.285Z] PM2 log: App name:mm id:0 online PM2 | [2021-08-08T22:31:17.278Z] PM2 log: Stopping app:mm id:0 PM2 | [2021-08-08T22:31:17.350Z] PM2 log: App [mm] with id [0] and pid [1718], exited with code [0] via signal [SIGINT] PM2 | [2021-08-08T22:31:17.443Z] PM2 log: pid=1718 msg=process killed /home/pi/.pm2/logs/mm-out.log last 100 lines: 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | 0|mm | 0|mm | > magicmirror@2.16.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | /home/pi/.pm2/logs/mm-error.log last 100 lines: 0|mm | /home/pi/MagicMirror/node_modules/electron/index.js:14 0|mm | throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') 0|mm | ^ 0|mm | 0|mm | Error: Electron failed to install correctly, please delete node_modules/electron and try installing again 0|mm | at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18) 0|mm | at Module._compile (internal/modules/cjs/loader.js:654:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:566:32) 0|mm | at tryModuleLoad (internal/modules/cjs/loader.js:506:12) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:498:3) 0|mm | at Module.require (internal/modules/cjs/loader.js:598:17) 0|mm | at require (internal/modules/cjs/helpers.js:11:18) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16) 0|mm | npm ERR! code ELIFECYCLE 0|mm | npm ERR! errno 1 0|mm | npm ERR! magicmirror@2.16.0 start: `electron js/electron.js` 0|mm | npm ERR! Exit status 1 0|mm | npm ERR! 0|mm | npm ERR! Failed at the magicmirror@2.16.0 start script. 0|mm | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 0|mm | 0|mm | npm ERR! A complete log of this run can be found in: 0|mm | npm ERR! /home/pi/.npm/_logs/2021-08-09T02_31_10_490Z-debug.log 0|mm | /home/pi/MagicMirror/node_modules/electron/index.js:14 0|mm | throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') 0|mm | ^ 0|mm | 0|mm | Error: Electron failed to install correctly, please delete node_modules/electron and try installing again 0|mm | at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18) 0|mm | at Module._compile (internal/modules/cjs/loader.js:654:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:566:32) 0|mm | at tryModuleLoad (internal/modules/cjs/loader.js:506:12) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:498:3) 0|mm | at Module.require (internal/modules/cjs/loader.js:598:17) 0|mm | at require (internal/modules/cjs/helpers.js:11:18) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16) 0|mm | npm ERR! code ELIFECYCLE 0|mm | npm ERR! errno 1 0|mm | npm ERR! magicmirror@2.16.0 start: `electron js/electron.js` 0|mm | npm ERR! Exit status 1 0|mm | npm ERR! 0|mm | npm ERR! Failed at the magicmirror@2.16.0 start script. 0|mm | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 0|mm | 0|mm | npm ERR! A complete log of this run can be found in: 0|mm | npm ERR! /home/pi/.npm/_logs/2021-08-09T02_31_12_433Z-debug.log 0|mm | /home/pi/MagicMirror/node_modules/electron/index.js:14 0|mm | throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') 0|mm | ^ 0|mm | 0|mm | Error: Electron failed to install correctly, please delete node_modules/electron and try installing again 0|mm | at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18) 0|mm | at Module._compile (internal/modules/cjs/loader.js:654:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:566:32) 0|mm | at tryModuleLoad (internal/modules/cjs/loader.js:506:12) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:498:3) 0|mm | at Module.require (internal/modules/cjs/loader.js:598:17) 0|mm | at require (internal/modules/cjs/helpers.js:11:18) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16) 0|mm | npm ERR! code ELIFECYCLE 0|mm | npm ERR! errno 1 0|mm | npm ERR! magicmirror@2.16.0 start: `electron js/electron.js` 0|mm | npm ERR! Exit status 1 0|mm | npm ERR! 0|mm | npm ERR! Failed at the magicmirror@2.16.0 start script. 0|mm | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 0|mm | 0|mm | npm ERR! A complete log of this run can be found in: 0|mm | npm ERR! /home/pi/.npm/_logs/2021-08-09T02_31_14_271Z-debug.log 0|mm | /home/pi/MagicMirror/node_modules/electron/index.js:14 0|mm | throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') 0|mm | ^ 0|mm | 0|mm | Error: Electron failed to install correctly, please delete node_modules/electron and try installing again 0|mm | at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18) 0|mm | at Module._compile (internal/modules/cjs/loader.js:654:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:566:32) 0|mm | at tryModuleLoad (internal/modules/cjs/loader.js:506:12) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:498:3) 0|mm | at Module.require (internal/modules/cjs/loader.js:598:17) 0|mm | at require (internal/modules/cjs/helpers.js:11:18) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16) 0|mm | npm ERR! code ELIFECYCLE 0|mm | npm ERR! errno 1 0|mm | npm ERR! magicmirror@2.16.0 start: `electron js/electron.js` 0|mm | npm ERR! Exit status 1 0|mm | npm ERR! 0|mm | npm ERR! Failed at the magicmirror@2.16.0 start script. 0|mm | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 0|mm | 0|mm | npm ERR! A complete log of this run can be found in: 0|mm | npm ERR! /home/pi/.npm/_logs/2021-08-09T02_31_16_238Z-debug.logIs this trying to find a needle in a haystack?
-
RE: MM Not Displaying after update
@sdetweil Yes. I read that a little bit after I did the pull, so, could the issue be that I didnt do it right after? I did try to run MM again before I read that you needed to do the install…
-
MM Not Displaying after update
Hello, I attempted to update my MagicMirror today via a git pull, and ever since then, my MM will not display. Here is the Log:
pi@raspberrypi:~ $ cd MagicMirror pi@raspberrypi:~/MagicMirror $ npm start magicmirror@2.16.0 start /home/pi/MagicMirror electron js/electron.js /home/pi/MagicMirror/node_modules/electron/index.js:14 throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') ^ Error: Electron failed to install correctly, please delete node_modules/electron and try installing again at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) at Module.require (internal/modules/cjs/loader.js:598:17)Thanks.
-
RE: PushBulletNotifications Module issues?
@sdetweil Thanks, but of course, I have complicated the issue now. I discovered that I needed to upgrade my MagicMirror. Of course, now that I have done that, it is not displaying at all. I am looking at a previous thread about this in which you helped someone else with that issue and trying to fix this.
Thanks again…I could be posting another thread on working through that issue! Ha.
-
RE: PushBulletNotifications Module issues?
@sdetweil I think I was able to look at the developers window tab. I see two errors:
-
“Failed to load resource…server responded with a status of 404 (Not Found)”
-
“Error on loading script:…PushBulletNotifications//MMM-PushbulletNotifications.js”
-
-
RE: PushBulletNotifications Module issues?
@sdetweil Ah, I see. I am not familiar with the developers window, so I am looking into that now.
-
RE: PushBulletNotifications Module issues?
@sdetweil Thanks…I have changed the debugMode to true, but that didnt do the trick…any other suggestions?
-
PushBulletNotifications Module issues?
Okay, maybe I posted this in the wrong section last time, so I will try it here: I have tried several different things like checking my module, changing the API Token, but for some reason, I cannot get this module to display on my MagicMirror. All of my other modules are fine. I am wondering if I am missing something obvious (I have before). He is my config (Which I did not change from the ReadMe):
{ module: 'MMM-PushBulletNotifications', header: 'Notifications', position: 'top_left', // This can be any of the regions. config: { // See 'Configuration options' for more information. accessToken: "MyToken", //PushBullet API Access Token endToEndPassword: null, numberOfNotifications: 3, filterTargetDeviceName: "", showPushesSentToAllDevices: true, onlyAllowCommandsFromSourceDevices: [], fetchLimitPushBullet: 50, showPushes: true, showPushesOnLoad: true, showDismissedPushes: true, showMirroredNotifications: true, onlyShowLastNotificationFromApplication: false, showIndividualNotifications: false, showSMS: true, showMessage: true, showIcons: true, showDateTime: true, localesDateTime: 'nl-NL', playSoundOnNotificationReceived: true, soundFile: 'modules/MMM-PushBulletNotifications/sounds/new-message.mp3', maxMsgCharacters: 50, maxHeaderCharacters: 32, showModuleIfNoNotifications: true, noNotificationsMessage: "No new notifications", debugMode: false, } },Any help will be appreciated.
-
PushBulletNotifications Module not showing?
Okay, I have tried several different things like checking my module, changing the API Token, but for some reason, I cannot get this module to display on my MagicMirror. All of my other modules are fine. I am wondering if I am missing something obvious (I have before). He is my config (Which I did not change from the ReadMe):
{ module: 'MMM-PushBulletNotifications', header: 'Notifications', position: 'top_left', // This can be any of the regions. config: { // See 'Configuration options' for more information. accessToken: "MyToken", //PushBullet API Access Token endToEndPassword: null, numberOfNotifications: 3, filterTargetDeviceName: "", showPushesSentToAllDevices: true, onlyAllowCommandsFromSourceDevices: [], fetchLimitPushBullet: 50, showPushes: true, showPushesOnLoad: true, showDismissedPushes: true, showMirroredNotifications: true, onlyShowLastNotificationFromApplication: false, showIndividualNotifications: false, showSMS: true, showMessage: true, showIcons: true, showDateTime: true, localesDateTime: 'nl-NL', playSoundOnNotificationReceived: true, soundFile: 'modules/MMM-PushBulletNotifications/sounds/new-message.mp3', maxMsgCharacters: 50, maxHeaderCharacters: 32, showModuleIfNoNotifications: true, noNotificationsMessage: "No new notifications", debugMode: false, } },Any help will be appreciated. Thanks.