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-GoogleKeep config.js

    Scheduled Pinned Locked Moved Solved Troubleshooting
    18 Posts 3 Posters 5.2k Views 3 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.
    • S Offline
      sdetweil @svenpisa
      last edited by

      @svenpisa please check the messages where u do npm start

      if you use pm2 then do pm2 logs --lines=50

      or

      pm2 stop all
      cd ~/MagicMirror
      npm start
      

      if you are running on the same screen as mm, then press ctrl-q, look at the messages

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        Hi Sam,

        Here is the error excerpt. The error definitely occurs with KEEP but no idea what to do…

        magicmirror@2.25.0 start
        DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

        [25.01.2024 19:42.13.949] [LOG] Starting MagicMirror: v2.25.0
        [25.01.2024 19:42.13.959] [LOG] Loading config …
        [25.01.2024 19:42.13.964] [DEBUG] config template file not exists, no envsubst
        [25.01.2024 19:42.13.972] [LOG] Loading module helpers …
        [25.01.2024 19:42.13.975] [LOG] No helper found for module: alert.
        [25.01.2024 19:42.14.621] [LOG] Initializing new module helper …
        [25.01.2024 19:42.14.622] [LOG] Module helper loaded: MMM-Wallpaper
        [25.01.2024 19:42.14.624] [LOG] No helper found for module: clock.
        [25.01.2024 19:42.15.040] [LOG] Module helper loaded: MMM-Sonos
        [25.01.2024 19:42.15.042] [LOG] No helper found for module: weather.
        [25.01.2024 19:42.15.044] [LOG] No helper found for module: MMM-CalendarExt3.
        [25.01.2024 19:42.15.046] [LOG] No helper found for module: MMM-CalendarExt3Agenda.
        [25.01.2024 19:42.15.408] [LOG] Initializing new module helper …
        [25.01.2024 19:42.15.409] [LOG] Module helper loaded: calendar
        [25.01.2024 19:42.15.411] [LOG] No helper found for module: compliments.
        [25.01.2024 19:42.15.518] [LOG] Initializing new module helper …
        [25.01.2024 19:42.15.519] [LOG] Module helper loaded: MMM-AccuWeatherForecastDeluxe
        [25.01.2024 19:42.15.527] [ERROR] (node:3930) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘python-shell’
        Require stack:

        • /home/sven/MagicMirror/modules/MMM-GoogleKeep/node_helper.js
        • /home/sven/MagicMirror/js/app.js
        • /home/sven/MagicMirror/js/electron.js
        • /home/sven/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
        • at node:internal/modules/cjs/loader:1084:15
          at Function. (node:electron/js2c/browser_init:2:117576)
          at Module._resolveFilename (/home/sven/MagicMirror/node_modules/module-alias/index.js:49:29)
          at node:internal/modules/cjs/loader:929:27
          at Function._load (node:electron/js2c/asar_bundle:2:13327)
          at Module.require (node:internal/modules/cjs/loader:1150:19)
          at require (node:internal/modules/cjs/helpers:110:18)
          at Object. (/home/sven/MagicMirror/modules/MMM-GoogleKeep/node_helper.js:10:23)
          at Module._compile (node:internal/modules/cjs/loader:1271:14)
          at Object…js (node:internal/modules/cjs/loader:1326:10)
          at Module.load (node:internal/modules/cjs/loader:1126:32)
          at node:internal/modules/cjs/loader:967:12
          at Function._load (node:electron/js2c/asar_bundle:2:13327)
          at Module.require (node:internal/modules/cjs/loader:1150:19)
          at require (node:internal/modules/cjs/helpers:110:18)
          at loadModule (/home/sven/MagicMirror/js/app.js:180:19)
          (Use electron --trace-warnings ... to show where the warning was created)
          [25.01.2024 19:42.15.528] [ERROR] (node:3930) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
          [3930:0125/194216.046643:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
          MESA-LOADER: failed to retrieve device information
          MESA-LOADER: failed to retrieve device information
          MESA-LOADER: failed to retrieve device information
          ^C/home/sven/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @svenpisa
          last edited by

          @svenpisa yes, the instruction leave out an important step

          after step 2
          then change to the module folder

           cd MMM-GoogleKeep
          

          THEN

          npm install

          you can do that step now, in the module folder

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil i did it…
            I went directly to ~/MagicMirror/modules/MMM-GoogleKeep $ and started npm install but then only got error messages

            npm ERR! code ERESOLVE
            npm ERR! ERESOLVE could not resolve
            npm ERR!
            npm ERR! While resolving: MMM-GoogleKeep@1.0.0
            npm ERR! Found: stylelint@15.11.0
            npm ERR! node_modules/stylelint
            npm ERR! peer stylelint@“15.x” from grunt-stylelint@0.19.0
            npm ERR! node_modules/grunt-stylelint
            npm ERR! dev grunt-stylelint@“latest” from the root project
            npm ERR!
            npm ERR! Could not resolve dependency:
            npm ERR! dev stylelint-config-standard@“latest” from the root project
            npm ERR!
            npm ERR! Conflicting peer dependency: stylelint@16.2.0
            npm ERR! node_modules/stylelint
            npm ERR! peer stylelint@“^16.1.0” from stylelint-config-standard@36.0.0
            npm ERR! node_modules/stylelint-config-standard
            npm ERR! dev stylelint-config-standard@“latest” from the root project
            npm ERR!
            npm ERR! Fix the upstream dependency conflict, or retry
            npm ERR! this command with --force or --legacy-peer-deps
            npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
            npm ERR!
            npm ERR!
            npm ERR! For a full report see:
            npm ERR! /home/sven/.npm/_logs/2024-01-25T19_14_43_524Z-eresolve-report.txt

            npm ERR! A complete log of this run can be found in: /home/sven/.npm/_logs/2024-01-25T19_14_43_524Z-debug-0.log

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

              @svenpisa gr… the developer junk

              edit package.json and change

              "devDependencies"
              

              to

              "devDependencies1"
              

              then do the
              npm install
              again

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil You’re great… Thank you very much
                Partly good news.
                It could now be installed and entered in config.js. MM also starts cleanly and is also displayed cleanly, but the KEEP module is unfortunately not displayed on the MM.
                Now I need to get the list displayed somehow.
                I have tried it with the APP password 16 digits as well as 4x4 digits and also with the Google password but unfortunately it is not displayed.
                Any more ideas?

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

                  @svenpisa sorry, don’t know the internals of the module

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S KristjanESPERANTOK 2 Replies Last reply Reply Quote 0
                  • S Offline
                    svenpisa @sdetweil
                    last edited by

                    @sdetweil What? I thought you were the God Father of Magic Mirror Modules!!! ;-)

                    No problem, maybe there is someone who has used this module before and it works for him to tell me what to do… I would be very happy anyway!!!

                    S 1 Reply Last reply Reply Quote 0
                    • KristjanESPERANTOK Offline
                      KristjanESPERANTO Module Developer @sdetweil
                      last edited by

                      I have tried to get the module to run, but have also failed. It seems to me that there is a problem with gkeepapi. A simple query with gkeepapi already fails.

                      There seems to be a workaround with docker (see https://github.com/kiwiz/gkeepapi/issues/81), but I didn’t tested that. In the issue discussion the maintainer of gkeepapi mentioned waiting for a new release of gpsoauth. Then MMM-GoogleKeep might work again without any tinkering 🙂

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        svenpisa @KristjanESPERANTO
                        last edited by

                        @KristjanESPERANTO Thank you very much. Do I understand correctly that I may only have to wait until the module works or do I have to make additional settings? Can I see the status somewhere when it should work again?

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