• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 5.4k 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.
  • E Offline
    eyebee
    last edited by Sep 16, 2020, 8:52 PM

    I think it is to do with Google’s security settings. See if you got an email saying you had a blocked access attempt. You can change the settings under ‘security’ to allow less secure apps though it is not recommended.

    On the github it says you can set up an app specific password, again look under security settings in your google account, you need two factor authentication on…

    1 Reply Last reply Reply Quote 0
    • B Offline
      bdf @Lagmin
      last edited by Nov 5, 2020, 11:10 AM

      @Lagmin , as the boss explain : “Your gmail password. If you are using 2 factor auth, you’ll need to generate a unique “App Password”. Go to your google account settings page, look in the “security” section on the left menu. You should find where to add an App Password there.” For me i’m not using 2 factor auth and i have the “null” message and have to allow less security App, maybe it 's the http and not https. I hope it will work for you.

      1 Reply Last reply Reply Quote 0
      • B Offline
        bdf @shaneapowell
        last edited by Nov 5, 2020, 11:15 AM

        @shaneapowell, Thanks a lot, work great.

        1 Reply Last reply Reply Quote 0
        • S Offline
          shaneapowell
          last edited by Mar 25, 2021, 4:44 PM

          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 Dec 23, 2021, 1:06 AM

            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 Dec 23, 2021, 1:27 AM Reply Quote 0
            • S Offline
              sdetweil @aarish
              last edited by Dec 23, 2021, 1:27 AM

              @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

              P 1 Reply Last reply Feb 9, 2022, 10:31 PM Reply Quote 0
              • J Offline
                Jo4K @aarish
                last edited by Dec 23, 2021, 11:20 AM

                @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
                • P Offline
                  plainbroke @sdetweil
                  last edited by Feb 9, 2022, 10:31 PM

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

                  S 1 Reply Last reply Feb 9, 2022, 11:24 PM Reply Quote 0
                  • S Offline
                    sdetweil @plainbroke
                    last edited by sdetweil Feb 9, 2022, 11:26 PM Feb 9, 2022, 11:24 PM

                    @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

                    P 1 Reply Last reply Feb 20, 2022, 9:29 PM Reply Quote 0
                    • R Offline
                      Ray
                      last edited by Feb 15, 2022, 12:07 AM

                      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
                      • 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