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-GmailFeed] - Simple Gmail unread messages list/notification

    Scheduled Pinned Locked Moved Utilities
    20 Posts 14 Posters 8.1k Views 15 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.
    • B Offline
      bdf @shaneapowell
      last edited by

      @shaneapowell, Thanks a lot, work great.

      1 Reply Last reply Reply Quote 0
      • S Offline
        shaneapowell
        last edited by

        Hey Guys… sorry I’ve not been in here to respond to questions. My MagicMirror has been working so well… I totally forgot about this thread. :) I updated the Readme on the github with a brief explination of how to work with Google 2FA. Hope that helps future users.

        1 Reply Last reply Reply Quote 0
        • A Offline
          aarish
          last edited by

          After updating MM to the latest version, every time I have Gmailfeed in the config I get this error when I launch MM.

          [22.12.2021 18:26.44.188] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'
          Require stack:
          - /home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js
          - /home/pi/MagicMirror/js/app.js
          - /home/pi/MagicMirror/js/electron.js
          - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
          - 
          
          

          and …

          Require stack:
          - /home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js
          - /home/pi/MagicMirror/js/app.js
          - /home/pi/MagicMirror/js/electron.js
          - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
          - 
              at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
              at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
              at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
              at Module._load (internal/modules/cjs/loader.js:732:27)
              at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
              at Module.require (internal/modules/cjs/loader.js:959:19)
              at require (internal/modules/cjs/helpers.js:88:18)
              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js:2:15)
              at Module._compile (internal/modules/cjs/loader.js:1078:30)
              at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
          [22.12.2021 18:26.44.219] [ERROR] Whoops! There was an uncaught exception...
          [22.12.2021 18:26.44.225] [ERROR] Error: Cannot find module 'request'
          Require stack:
          - /home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js
          - /home/pi/MagicMirror/js/app.js
          - /home/pi/MagicMirror/js/electron.js
          - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
          - 
              at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
              at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
              at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
              at Module._load (internal/modules/cjs/loader.js:732:27)
              at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
              at Module.require (internal/modules/cjs/loader.js:959:19)
              at require (internal/modules/cjs/helpers.js:88:18)
              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js:2:15)
              at Module._compile (internal/modules/cjs/loader.js:1078:30)
              at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) {
            code: 'MODULE_NOT_FOUND',
            requireStack: [
              '/home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js',
              '/home/pi/MagicMirror/js/app.js',
              '/home/pi/MagicMirror/js/electron.js',
              '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
              undefined
            ]
          }
          
          

          Any ideas on how to fix this?

          S J 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @aarish
            last edited by

            @aarish see
            https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            plainbrokeP 1 Reply Last reply Reply Quote 0
            • J Offline
              Jo4K @aarish
              last edited by

              @aarish said in [MMM-GmailFeed] - Simple Gmail unread messages list/notification:

              Cannot find module ‘request’

              Ecrite noire sur blanc l’erreur : Cannot find module ‘request’
              -> Faut juste installer le module demandé (request)
              “npm install request” et le tour est joué

              1 Reply Last reply Reply Quote 0
              • plainbrokeP Offline
                plainbroke @sdetweil
                last edited by

                @sdetweil said in [MMM-GmailFeed] - Simple Gmail unread messages list/notification:

                @aarish see
                https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

                Sam,
                This did not work for me I could not find anywhere it showed which dependency
                my MM needed to run the GmailFeed, but A nice person pointed out to me to run
                npm install request in the MagicMirror/modules directory. Reinstalled the MMM-GmailFeed and then ran the npm install request in the modules directory and it WORKS again. Thank you to Kristjan ESPERANTO!

                Slow learner. But trying anyways.
                MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                Running Trixie and the latest MM version.

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

                  @plainbroke module install instructions

                  git clone https://github.com/shaneapowell/MMM-GmailFeed.git
                  cd MMM-GmailFeed
                  npm install
                  

                  the GitHub page is the README.MD file

                  also, if the module has a package.json you need to npm install ( in the new module folder), even if they don’t say so

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  plainbrokeP 1 Reply Last reply Reply Quote 0
                  • R Offline
                    Ray
                    last edited by

                    I am having an unusual problem with it. It is preventing Googleassistant from bugsounet from loading
                    I tested this 3 times by disabling the update and another one disabling the module and finally I reinstalled the previous version and everything worked perfectly, so I don’t understand what’s going on here

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      DarrenHill
                      last edited by

                      Also just came across a clash between GmailFeed and both MMM-News and MMM-NewsAPI.

                      Seems my GmailFeed was a little out of date as a git pull updated stuff there and now they are playing nicely together. Must be something quite recent though as I’m sure I did a full mirror update not so long ago…?

                      1 Reply Last reply Reply Quote 0
                      • plainbrokeP Offline
                        plainbroke @sdetweil
                        last edited by plainbroke

                        @sdetweil said in [MMM-GmailFeed] - Simple Gmail unread messages list/notification:

                        @plainbroke module install instructions

                        git clone https://github.com/shaneapowell/MMM-GmailFeed.git
                        cd MMM-GmailFeed
                        npm install
                        

                        the GitHub page is the README.MD file

                        also, if the module has a package.json you need to npm install ( in the new module folder), even if they don’t say so

                        I did all the npm install and it still did not work until I did the “npm install request” in the MagicMirror/modules folder, that alone fixed almost all my install issues… Could hardly believe something so simple fixed so much… And yes I have been running npm install in all my modules folders just to be safe. That pm2 restart mm && pm2 log lines=50 ( i think that is correct) really made life easier… Thanks to all whom helped with my issue…

                        Slow learner. But trying anyways.
                        MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                        Running Trixie and the latest MM version.

                        S 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