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.

    pm2 errors

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 3 Posters 801 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.
    • bheplerB Offline
      bhepler Module Developer @sdetweil
      last edited by

      @sdetweil - At a guess, something went wrong during his installation that is preventing electron from loading. But the failed calls to Google for the calendar worry me. I suspect that he has two issues: failed installation and a Google calendar configuration error that is preventing Google from serving up his calendar.

      You gave good advice, getting the electron issue sorted. But I think @N6NG is still going to have calendar problems.

      1 Reply Last reply Reply Quote 0
      • N6NGN Offline
        N6NG @sdetweil
        last edited by

        @sdetweil
        I did the list as you said twice… With the same results. I think it will just be easier to start from scratch. What is the recommended O.S to load MM on now?
        Here is the result after I did the pm2 reset and you listed.

        1|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19)
        1|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
        1|MagicMir | at Class.loadModuleDefaultConfig (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:313:30)
        1|MagicMir | at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:267:26
        1|MagicMir | [1143:0814/120009.873359:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
        1|MagicMir | [1219:0814/120011.296500:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
        1|MagicMir | [1246:0814/120011.766627:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
        1|MagicMir | [14.08.2022 12:00.20.655] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/n28eorb78g9osq8n9k5h689jmg%40group.calendar.google.com/private-046ced3569f15a4ed126f5bb09847134/basic.ics Error: Not Found
        1|MagicMir | at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:121:9)
        1|MagicMir | at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
        1|MagicMir | [14.08.2022 12:01.53.089] [WARN] You’re using a full whitelist configuration to allow for all IPs
        1|MagicMir | [14.08.2022 12:01.55.581] [ERROR] ERROR! Could not validate main module js file.
        1|MagicMir | [14.08.2022 12:01.55.596] [ERROR] ReferenceError: Log is not defined
        1|MagicMir | at Object. (/home/pi/MagicMirror/modules/MMM-RAIN-MAP/MMM-RAIN-MAP.js:28:151216)
        1|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1118:14)
        1|MagicMir | at Module._extensions…js (node:internal/modules/cjs/loader:1173:10)
        1|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32)
        1|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12)
        1|MagicMir | at c._load (node:electron/js2c/asar_bundle:5:13343)
        1|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19)
        1|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
        1|MagicMir | at Class.loadModuleDefaultConfig (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:313:30)
        1|MagicMir | at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:267:26
        1|MagicMir | [2074:0814/120156.172072:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
        1|MagicMir | [2166:0814/120200.161965:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
        1|MagicMir | [2204:0814/120200.457971:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
        1|MagicMir | [14.08.2022 12:02.13.913] [WARN] You’re using a full whitelist configuration to allow for all IPs

        /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
        1|MagicMir | [14.08.2022 12:02.00.537] [LOG] Shutting down server…
        1|MagicMir | [14.08.2022 12:02.00.552] [LOG] Stopping module helper: MMM-Wallpaper
        1|MagicMir | [14.08.2022 12:02.00.559] [LOG] Stopping module helper: MMM-3Day-Forecast

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

          @N6NG said in pm2 errors:

          Module.require

          this indicates a down level version of npm

          please use use my script, it does everything.
          start from fresh SD card flash, cause I don’t know what you’ve got now, but it’s a mess

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @N6NG said in pm2 errors:

            What is the recommended O.S to load MM

            either the latest 32 bit full desktop
            or if using video streams with MM, then the legacy 32 bit image

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            N6NGN 1 Reply Last reply Reply Quote 0
            • N6NGN Offline
              N6NG @sdetweil
              last edited by

              @sdetweil No 64?

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

                @N6NG no. not yet… too many issues

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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