@sdetweil as I said, I followed the instructions, I changed the socketclient.js file, still nothing.
The MM is up to date as well.
Read the statement by Michael Teeuw here.
Posts made by justtrying
-
RE: MMM-RemoteCompliments does not appear
-
RE: MMM-RemoteCompliments does not appear
@sdetweil Followed these instructions, still no module appearing. It really sucks, I tried reinstalling everything, followed every instruction to a T (even though the setup instructions are outdated), but it just doesn’t work.
-
RE: MMM-RemoteCompliments does not appear
@sdetweil
I tried to do as you said, so changed it to MMM-RemoteCompliments, and got this:pi@RideorDie:~/MagicMirror/modules/MMM-RemoteCompliments $ npm install googleapis npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + googleapis@52.1.0 updated 1 package and audited 829 packages in 49.282s 29 packages are looking for funding run `npm fund` for details found 3 low severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details
Still no remote compliments showing up sadly. I’m thinking about rebooting the entire thing and reinstalling MM.
-
RE: MMM-RemoteCompliments does not appear
@bhepler said in MMM-RemoteCompliments does not appear:
the markdown features
ok so when I put in
npm install googleapis
I get the following error message:npm install googleapis npm WARN checkPermissions Missing write access to /home/pi/node_modules/pm2 npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. npm ERR! code EACCES npm ERR! syscall access npm ERR! path /home/pi/node_modules/pm2 npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/home/pi/node_modules/pm2' npm ERR! { [Error: EACCES: permission denied, access '/home/pi/node_modules/pm2'] npm ERR! stack: npm ERR! 'Error: EACCES: permission denied, access \'/home/pi/node_modules/pm2\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/home/pi/node_modules/pm2' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-06-12T08_24_18_697Z-debug.log
I checked the location as instructed, and it showed that the installed modules were default en MMM-RemoteCompliments, so it is in the correct spot.
I checked the log, and I get the following error message:
pm2 log 0 [TAILING] Tailing last 15 lines for [0] process (change the value with --lines option) /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | at loadConfig (/home/pi/MagicMirror/js/app.js:69:12) 0|MagicMir | at App.start (/home/pi/MagicMirror/js/app.js:210:3) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:115:7) 0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:786:30) 0|MagicMir | [2020-06-07 17:47:32.481] [ERROR] Calendar Error. Could not fetch calendar: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics Error: getaddrinfo EAI_AGAIN www.calendarlabs.com 0|MagicMir | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) { 0|MagicMir | errno: 'EAI_AGAIN', 0|MagicMir | code: 'EAI_AGAIN', 0|MagicMir | syscall: 'getaddrinfo', 0|MagicMir | hostname: 'www.calendarlabs.com' 0|MagicMir | } 0|MagicMir | [2020-06-07 17:47:32.704] [ERROR] fatal: unable to access 'https://github.com/mitchelltmarino/MMM-RemoteCompliments.git/': Could not resolve host: github.com 0|MagicMir | 0|MagicMir | [2020-06-07 17:47:32.710] [ERROR] fatal: unable to access 'https://github.com/MichMich/MagicMirror.git/': Could not resolve host: github.com 0|MagicMir | /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | at new driveFetcher (/home/pi/MagicMirror/modules/MMM-RemoteCompliments/Drive/DriveUtils.js:40:36) 0|MagicMir | at Class.start (/home/pi/MagicMirror/modules/MMM-RemoteCompliments/node_helper.js:43:23) 0|MagicMir | at /home/pi/MagicMirror/js/app.js:230:18 0|MagicMir | at new Server (/home/pi/MagicMirror/js/server.js:84:3) { 0|MagicMir | errno: -2, 0|MagicMir | syscall: 'open', 0|MagicMir | code: 'ENOENT', 0|MagicMir | path: '/home/pi/MagicMirror/modules/MMM-RemoteCompliments/Drive/Token.json' 0|MagicMir | } 0|MagicMir | [2020-06-12 10:23:13.727] [LOG] Starting node helper for: MMM-RemoteCompliments 0|MagicMir | [2020-06-12 10:23:13.727] [LOG] Sockets connected & modules started ... 0|MagicMir | [2020-06-12 10:23:13.816] [LOG] [SIGINT] Received. Shutting down server... 0|MagicMir | [2020-06-12 10:23:13.818] [LOG] Stopping module helper: updatenotification 0|MagicMir | [2020-06-12 10:23:13.819] [LOG] Stopping module helper: calendar 0|MagicMir | [2020-06-12 10:23:13.819] [LOG] Stopping module helper: MMM-RemoteCompliments npm install googleapis npm WARN checkPermissions Missing write access to /home/pi/node_modules/pm2 npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. npm ERR! code EACCES npm ERR! syscall access npm ERR! path /home/pi/node_modules/pm2 npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/home/pi/node_modules/pm2' npm ERR! { [Error: EACCES: permission denied, access '/home/pi/node_modules/pm2'] npm ERR! stack: npm ERR! 'Error: EACCES: permission denied, access \'/home/pi/node_modules/pm2\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/home/pi/node_modules/pm2' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-06-12T08_24_18_697Z-debug.log
When I gave the same command again I got:
pm2 log 0 [TAILING] Tailing last 15 lines for [0] process (change the value with --lines option) /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | at loadConfig (/home/pi/MagicMirror/js/app.js:69:12) 0|MagicMir | at App.start (/home/pi/MagicMirror/js/app.js:210:3) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:115:7) 0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:786:30) 0|MagicMir | [2020-06-07 17:47:32.481] [ERROR] Calendar Error. Could not fetch calendar: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics Error: getaddrinfo EAI_AGAIN www.calendarlabs.com 0|MagicMir | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) { 0|MagicMir | errno: 'EAI_AGAIN', 0|MagicMir | code: 'EAI_AGAIN', 0|MagicMir | syscall: 'getaddrinfo', 0|MagicMir | hostname: 'www.calendarlabs.com' 0|MagicMir | } 0|MagicMir | [2020-06-07 17:47:32.704] [ERROR] fatal: unable to access 'https://github.com/mitchelltmarino/MMM-RemoteCompliments.git/': Could not resolve host: github.com 0|MagicMir | 0|MagicMir | [2020-06-07 17:47:32.710] [ERROR] fatal: unable to access 'https://github.com/MichMich/MagicMirror.git/': Could not resolve host: github.com 0|MagicMir | /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | at new driveFetcher (/home/pi/MagicMirror/modules/MMM-RemoteCompliments/Drive/DriveUtils.js:40:36) 0|MagicMir | at Class.start (/home/pi/MagicMirror/modules/MMM-RemoteCompliments/node_helper.js:43:23) 0|MagicMir | at /home/pi/MagicMirror/js/app.js:230:18 0|MagicMir | at new Server (/home/pi/MagicMirror/js/server.js:84:3) { 0|MagicMir | errno: -2, 0|MagicMir | syscall: 'open', 0|MagicMir | code: 'ENOENT', 0|MagicMir | path: '/home/pi/MagicMirror/modules/MMM-RemoteCompliments/Drive/Token.json' 0|MagicMir | } 0|MagicMir | [2020-06-12 10:23:13.727] [LOG] Starting node helper for: MMM-RemoteCompliments 0|MagicMir | [2020-06-12 10:23:13.727] [LOG] Sockets connected & modules started ... 0|MagicMir | [2020-06-12 10:23:13.816] [LOG] [SIGINT] Received. Shutting down server... 0|MagicMir | [2020-06-12 10:23:13.818] [LOG] Stopping module helper: updatenotification 0|MagicMir | [2020-06-12 10:23:13.819] [LOG] Stopping module helper: calendar 0|MagicMir | [2020-06-12 10:23:13.819] [LOG] Stopping module helper: MMM-RemoteCompliments
-
MMM-RemoteCompliments does not appear
Hi everyone I hope someone can help me out with this.
I’m a newbie on the raspberri pi, and I tried to install MMM-RemoteCompliments as my first module.
I followed the instructions, setup was a success, put the module code in my config.js, but when I start my MagicMirror the module does not show up, not even the header. I’ve tried moving it around, but it’s nowhere to be seen.
I’ve checked my code, I even copy pasted it directly from the instructions to make sure I didn’t make a typo.
The only thing I can think of is that I accidentally first installed the module in the wrong folder, and it might be an interference? I can’t get it removed though for some reason, so I can’t check if that’s the problem.Any help would be great!