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.

    Problems after updating MMM-Homematic

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 3 Posters 402 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.
    • T Offline
      TheBassfly
      last edited by

      Hello

      Today I saw that my Homematic Module wasn’t running anymore and the Mirror showed me, that an update is available.
      So, I got into my Terminal and tried to update it.
      I have to say that the “git pull” command never worked here and I always got the message that the git-process was still active on another repository. so I deleted the folder of the module and used “git clone” again.
      after the installation of the new modules I got a few error meeesgaes from the mirror.

      could you eventually help me out, as I’m not understanding what’s wrong.

      (> magicmirror@2.18.0 start

      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      [18.01.2022 16:55.48.324] [LOG] Starting MagicMirror: v2.18.0
      [18.01.2022 16:55.48.346] [LOG] Loading config …
      [18.01.2022 16:55.48.371] [LOG] Loading module helpers …
      [18.01.2022 16:55.48.416] [LOG] Initializing new module helper …
      [18.01.2022 16:55.48.422] [LOG] Module helper loaded: updatenotification
      [18.01.2022 16:55.48.431] [LOG] No helper found for module: clock.
      [18.01.2022 16:55.49.486] [LOG] Initializing new module helper …
      [18.01.2022 16:55.49.491] [LOG] Module helper loaded: MMM-DarkSkyForecast
      [18.01.2022 16:55.49.507] [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-Homematic/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

      [18.01.2022 16:55.49.511] [LOG] Loading module helpers …
      [18.01.2022 16:55.49.514] [LOG] Initializing new module helper …
      [18.01.2022 16:55.49.515] [LOG] Module helper loaded: updatenotification
      [18.01.2022 16:55.49.519] [LOG] No helper found for module: clock.
      [18.01.2022 16:55.49.524] [LOG] Initializing new module helper …
      [18.01.2022 16:55.49.528] [LOG] Module helper loaded: MMM-DarkSkyForecast
      [18.01.2022 16:55.49.537] [ERROR] App threw an error during load
      [18.01.2022 16:55.49.543] [ERROR] Error: Cannot find module ‘request’
      Require stack:

      • /home/pi/MagicMirror/modules/MMM-Homematic/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 (node:internal/modules/cjs/loader:940:15)
        at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:785:27)
        at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
        at Module.require (node:internal/modules/cjs/loader:1012:19)
        at require (node:internal/modules/cjs/helpers:94:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-Homematic/node_helper.js:3:17)
        at Module._compile (node:internal/modules/cjs/loader:1116:14)
        at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10)
        [18.01.2022 16:55.49.546] [ERROR] Whoops! There was an uncaught exception…
        [18.01.2022 16:55.49.561] [ERROR] Error: Cannot find module ‘request’
        Require stack:
      • /home/pi/MagicMirror/modules/MMM-Homematic/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 (node:internal/modules/cjs/loader:940:15)
        at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:785:27)
        at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
        at Module.require (node:internal/modules/cjs/loader:1012:19)
        at require (node:internal/modules/cjs/helpers:94:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-Homematic/node_helper.js:3:17)
        at Module._compile (node:internal/modules/cjs/loader:1116:14)
        at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10) {
        code: ‘MODULE_NOT_FOUND’,
        requireStack: [
        ‘/home/pi/MagicMirror/modules/MMM-Homematic/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
        ]
        }
        [18.01.2022 16:55.49.570] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        [18.01.2022 16:55.49.572] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        [18.01.2022 16:55.50.346] [LOG] Launching application.
        [9324:0118/165551.733110:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
        [9346:0118/165552.114655:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
        )
      mumblebajM 1 Reply Last reply Reply Quote 0
      • mumblebajM Offline
        mumblebaj Module Developer @TheBassfly
        last edited by sdetweil

        @thebassfly said in Problems after updating MMM-Homematic:

        [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’

        The above is your error:

        Please see the below for solutions:
        https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

        Check out my modules at: https://github.com/mumblebaj?tab=repositories
        Check my blog-post: https://mumblebaj.xyz/
        Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

        S T 2 Replies Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @mumblebaj
          last edited by

          @mumblebaj changed link to remove latest post number, 1st post is the right answer

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • T Offline
            TheBassfly @mumblebaj
            last edited by

            @mumblebaj

            Thank you.

            The solution was a little misunderstanding, but I figured it out, and now it seems to work.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

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