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.

    MMM-RemoteCompliments does not appear

    Scheduled Pinned Locked Moved Troubleshooting
    18 Posts 5 Posters 2.7k Views 5 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.
    • J Offline
      justtrying @bhepler
      last edited by

      @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
      
      
      
      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by

        @justtrying said in MMM-RemoteCompliments does not appear:

        /home/pi/node_modules

        but it looks like you are not in the MM folder or the module folder where u need to install this

        looks like you are in the users home folder (/home/pi)

        for a module, you should be in

        /home/pi/MagicMirror/modules/???modulename???

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          justtrying @sdetweil
          last edited by

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

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @justtrying
            last edited by sdetweil

            @justtrying I haven’t used that. module. but maybe it has the same problem as remote control.
            .see this topic
            https://forum.magicmirror.builders/topic/12485/has-anyone-got-mmm-remote-control-working-on-mm-2-11/10?_=1593613231689

            you have to restore one file back to 2.10 level. copy paste/replace file contents

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              justtrying @sdetweil
              last edited by

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

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @justtrying
                last edited by

                @justtrying they introduced a bug in 2.11

                fix was to. put back the 2.10 version of the file.

                2.12 supposedly fixes it correctly. 2.12 has other problems

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  justtrying @sdetweil
                  last edited by

                  @sdetweil as I said, I followed the instructions, I changed the socketclient.js file, still nothing.
                  The MM is up to date as well.

                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    Nero @justtrying
                    last edited by

                    @justtrying Did you ever get this to show up, I have just gone through the installation and nothing shows on my mirror not even the header. Thank you

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tf2
                      last edited by

                      I would try starting over. I had a couple problems when I installed it, but I found every time the answers were actually in the instructions, just not quite how I would have expected to see them.

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @tf2
                        last edited by

                        @tf2 u can also fork the repo, download it, edit the README.md file,add that change, push to your fork, and submit a pull request to the original repo to help others

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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