Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Solved Gmailfeed

    Issues
    2
    14
    82
    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.
    • R
      Ray BetaTester last edited by

      Hello everyone
      Looking for help with Gmailfeed . Everything was working perfectly until I decided to add Google assistant when I upgraded to the newest v3 is when I ran into a problem.
      when I put Gmailfeed back in the config file and start magicmirror. I get a black screen
      I’m using Linux mint

      Any help would be appreciated

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by bugsounet

        Hi, are you sure that is related to GA ?
        do you have some logs with GA error ?

        but … I don’t think that it’s possible to have a black screen with GA because there is some protection for this

        So, I try this solution for inspect:

        she does not answer me 😕

        Can you tell me more please ? 😉

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

          I actually fixed the problem by uninstalled GA completely and then I had to do a npm install in the magicmirror directory
          then I got my magicmirror back.
          then I proceeded to reinstall GA and everything is working perfectly now.
          so I don’t know what happened but the procedures I did above seem to fix it

          But just so you know. All I did was the first time install GA and the detector and when I did that everything went crazy

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by

            I don’t know do you says by uninstalling

            After, if you delete the directory to take the same source (because source is … the source and no change on it), it’s a lost time

            just use npn tool (npm run update or npm run rebuild) but without log… I can’t see what happen
            All modules send log on start ! just read it (you can have warn, error, info,…)

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

              Well like I said I’m confused. I don’t know what happened. I have done the run updates run rebuild. I did all that and I couldn’t get it to stop giving me a black screen.
              I think something just went wrong when I was installing GA and it corrupted magic mirror. That’s the only thing I can think of. I could be wrong. I’m not an expert. I am a beginner trying to learn all this
              the only thing that restored my magic mirror was npm install . After that I was able to reinstall GA I did check all my logs and could not find any errors but again I am a beginner so I am learning

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

                Let me look in Gmail feed and see if there’s a login there. That might explain something

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

                  I did find this that might help

                  0 info it worked if it ends with ok

                  1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘view’ ]

                  2 info using npm@6.14.13

                  3 info using node@v14.17.2

                  4 verbose npm-session c82d50e93b789ca6

                  5 http fetch GET 404 https://registry.npmjs.org/MMM-GoogleAssistant 314ms

                  6 verbose stack Error: 404 Not Found - GET https://registry.npmjs.org/MMM-GoogleAssistant - Not found

                  6 verbose stack at /usr/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:117:15

                  6 verbose stack at processTicksAndRejections (internal/process/task_queues.js:95:5)

                  7 verbose statusCode 404

                  8 verbose pkgid MMM-GoogleAssistant@latest

                  9 verbose cwd /home/ray/MagicMirror/modules/MMM-GoogleAssistant

                  10 verbose Linux 5.4.0-77-generic

                  11 verbose argv “/usr/bin/node” “/usr/bin/npm” “view”

                  12 verbose node v14.17.2

                  13 verbose npm v6.14.13

                  14 error code E404

                  15 error 404 ‘MMM-GoogleAssistant’ is not in the npm registry.

                  15 error 404 name can no longer contain capital letters

                  16 error 404

                  17 error 404 ‘MMM-GoogleAssistant@latest’ is not in the npm registry.

                  18 error 404 Your package name is not valid, because

                  19 error 404 1. name can no longer contain capital letters

                  20 error 404 Note that you can also install from a

                  21 error 404 tarball, folder, http url, or git url.

                  22 verbose exit [ 1, true ]

                  1 Reply Last reply Reply Quote 0
                  • bugsounet
                    bugsounet Main Coder last edited by

                    This error happen when you search MMM-GoogleAssistant on NPM …
                    I think, you use this command: npm install MMM-GoogleAssistant

                    So… i think you use some bad command 😉

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

                      Could be
                      I just found a typo in the config file that I’m going to change. It is as follows
                      let config should be var config . Is that correct

                      let config = {
                      address: “localhost”, // Address to listen on, can be:
                      electronOptions: { // - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
                      webPreferences: { // - another specific IPv4/6 to listen on a specific interface
                      webviewTag: true // - “0.0.0.0”, “::” to listen on any interface
                      } // Default, when address config is left out or empty, is “localhost”
                      },
                      port: 8080,

                      1 Reply Last reply Reply Quote 0
                      • bugsounet
                        bugsounet Main Coder last edited by bugsounet

                        I use 4 platforms (2 RPI3b+, 1 RPI4, 1 Debian linux) don’t worry about this 😉

                        1 RPI 3b+ at work, running mm2.14
                        1 RPI 3b+ at secondary home, running mm2.15
                        1 RPI 4 at home, running mm2.16
                        my dev platform, running all dev branch (mm too)

                        note: strange your comments 😉

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

                          So I fixed the error. I’m assuming that I was correct. It should be (var) and everything is working correctly

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

                            I appreciate you taking the time and helping me out

                            1 Reply Last reply Reply Quote 0
                            • bugsounet
                              bugsounet Main Coder last edited by

                              var and let is +/- the same

                              The main differance is the propagation inside the file.
                              in this case for config.js file, this are no problem about this 😉

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

                                Okay thanks for the input

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Powered by NodeBB | @bugsounet ©2022