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.

    Does not work

    Scheduled Pinned Locked Moved Utilities
    5 Posts 2 Posters 908 Views 2 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.
    • V Offline
      Volkae
      last edited by

      Re: MMM-WunderGround-PWS-Observations

      @Saabman

      After installing your modul, MM does not start. Idea? Here the lines:

      npm run start

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

      [05.09.2022 14:38.42.387] [LOG] Starting MagicMirror: v2.20.0
      [05.09.2022 14:38.42.404] [LOG] Loading config …
      [05.09.2022 14:38.42.418] [LOG] Loading module helpers …
      [05.09.2022 14:38.42.424] [LOG] No helper found for module: alert.
      [05.09.2022 14:38.42.478] [LOG] Initializing new module helper …
      [05.09.2022 14:38.42.485] [LOG] Module helper loaded: updatenotification
      [05.09.2022 14:38.42.490] [LOG] No helper found for module: clock.
      [05.09.2022 14:38.42.995] [LOG] Initializing new module helper …
      [05.09.2022 14:38.42.997] [LOG] Module helper loaded: calendar
      [05.09.2022 14:38.43.000] [LOG] No helper found for module: compliments.
      [05.09.2022 14:38.43.004] [LOG] No helper found for module: weather.
      [05.09.2022 14:38.43.033] [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-WunderGround-PWS-Observations/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

      [05.09.2022 14:38.43.055] [LOG] Loading module helpers …
      [05.09.2022 14:38.43.060] [LOG] No helper found for module: alert.
      [05.09.2022 14:38.43.062] [LOG] Initializing new module helper …
      [05.09.2022 14:38.43.064] [LOG] Module helper loaded: updatenotification
      [05.09.2022 14:38.43.066] [LOG] No helper found for module: clock.
      [05.09.2022 14:38.43.069] [LOG] Initializing new module helper …
      [05.09.2022 14:38.43.072] [LOG] Module helper loaded: calendar
      [05.09.2022 14:38.43.076] [LOG] No helper found for module: compliments.
      [05.09.2022 14:38.43.079] [LOG] No helper found for module: weather.
      [05.09.2022 14:38.43.087] [ERROR] App threw an error during load
      [05.09.2022 14:38.43.096] [ERROR] Error: Cannot find module ‘request’
      Require stack:

      • /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/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 n._resolveFilename (node:electron/js2c/browser_init:245:1105)
        at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:785:27)
        at c._load (node:electron/js2c/asar_bundle:5:13343)
        at Module.require (node:internal/modules/cjs/loader:1012:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js:11:15)
        at Module._compile (node:internal/modules/cjs/loader:1118:14)
        at Module._extensions…js (node:internal/modules/cjs/loader:1173:10)
        [05.09.2022 14:38.43.102] [ERROR] Whoops! There was an uncaught exception…
        [05.09.2022 14:38.43.125] [ERROR] Error: Cannot find module ‘request’
        Require stack:
      • /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/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 n._resolveFilename (node:electron/js2c/browser_init:245:1105)
        at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:785:27)
        at c._load (node:electron/js2c/asar_bundle:5:13343)
        at Module.require (node:internal/modules/cjs/loader:1012:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js:11:15)
        at Module._compile (node:internal/modules/cjs/loader:1118:14)
        at Module._extensions…js (node:internal/modules/cjs/loader:1173:10) {
        code: ‘MODULE_NOT_FOUND’,
        requireStack: [
        ‘/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/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
        ]
        }
        [05.09.2022 14:38.43.135] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        [05.09.2022 14:38.43.137] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        [05.09.2022 14:38.43.734] [LOG] Launching application.
        [2203:0905/143844.762678:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
        [2230:0905/143845.008543:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
        [05.09.2022 14:41.14.673] [LOG] Shutting down server…
        [05.09.2022 14:41.14.680] [LOG] Stopping module helper: updatenotification
        [05.09.2022 14:41.14.682] [LOG] Stopping module helper: calendar
        [05.09.2022 14:41.14.684] [LOG] Stopping module helper: updatenotification
        [05.09.2022 14:41.14.685] [LOG] Stopping module helper: calendar
        [05.09.2022 14:41.14.688] [ERROR] Whoops! There was an uncaught exception…
        [05.09.2022 14:41.14.692] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
        at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
        at App. (/home/pi/MagicMirror/js/electron.js:145:7)
        at App.emit (node:events:526:28)
        at appMethod (node:electron/js2c/browser_init:69:1830)
        at Object.execute (node:electron/js2c/browser_init:69:5966)
        at MenuItem.click (node:electron/js2c/browser_init:73:1862)
        at a._executeCommand (node:electron/js2c/browser_init:81:2453)
        [05.09.2022 14:41.14.695] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        [05.09.2022 14:41.14.699] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        pi@raspberrypi:~/MagicMirror/config $
      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Volkae
        last edited by

        @Volkae see
        https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later, post 1

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        V 1 Reply Last reply Reply Quote 0
        • V Offline
          Volkae @sdetweil
          last edited by

          @sdetweil
          Thank you for your support but it´s still not running. I did all the steps you listed but there is still black screen.
          Here the lines:

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

          [06.09.2022 14:20.07.952] [LOG] Starting MagicMirror: v2.20.0
          [06.09.2022 14:20.07.968] [LOG] Loading config …
          [06.09.2022 14:20.07.993] [LOG] Loading module helpers …
          [06.09.2022 14:20.07.999] [LOG] No helper found for module: alert.
          [06.09.2022 14:20.08.063] [LOG] Initializing new module helper …
          [06.09.2022 14:20.08.070] [LOG] Module helper loaded: updatenotification
          [06.09.2022 14:20.08.077] [LOG] No helper found for module: clock.
          [06.09.2022 14:20.08.637] [LOG] Initializing new module helper …
          [06.09.2022 14:20.08.639] [LOG] Module helper loaded: calendar
          [06.09.2022 14:20.08.651] [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-WunderGround-PWS-Observations/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

          [06.09.2022 14:20.08.654] [LOG] Loading module helpers …
          [06.09.2022 14:20.08.656] [LOG] No helper found for module: alert.
          [06.09.2022 14:20.08.671] [LOG] Initializing new module helper …
          [06.09.2022 14:20.08.674] [LOG] Module helper loaded: updatenotification
          [06.09.2022 14:20.08.676] [LOG] No helper found for module: clock.
          [06.09.2022 14:20.08.678] [LOG] Initializing new module helper …
          [06.09.2022 14:20.08.680] [LOG] Module helper loaded: calendar
          [06.09.2022 14:20.08.688] [ERROR] App threw an error during load
          [06.09.2022 14:20.08.695] [ERROR] Error: Cannot find module ‘request’
          Require stack:

          • /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/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 n._resolveFilename (node:electron/js2c/browser_init:245:1105)
            at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
            at Module._load (node:internal/modules/cjs/loader:785:27)
            at c._load (node:electron/js2c/asar_bundle:5:13343)
            at Module.require (node:internal/modules/cjs/loader:1012:19)
            at require (node:internal/modules/cjs/helpers:102:18)
            at Object. (/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js:11:15)
            at Module._compile (node:internal/modules/cjs/loader:1118:14)
            at Module._extensions…js (node:internal/modules/cjs/loader:1173:10)
            [06.09.2022 14:20.08.700] [ERROR] Whoops! There was an uncaught exception…
            [06.09.2022 14:20.08.720] [ERROR] Error: Cannot find module ‘request’
            Require stack:
          • /home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/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 n._resolveFilename (node:electron/js2c/browser_init:245:1105)
            at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
            at Module._load (node:internal/modules/cjs/loader:785:27)
            at c._load (node:electron/js2c/asar_bundle:5:13343)
            at Module.require (node:internal/modules/cjs/loader:1012:19)
            at require (node:internal/modules/cjs/helpers:102:18)
            at Object. (/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/node_helper.js:11:15)
            at Module._compile (node:internal/modules/cjs/loader:1118:14)
            at Module._extensions…js (node:internal/modules/cjs/loader:1173:10) {
            code: ‘MODULE_NOT_FOUND’,
            requireStack: [
            ‘/home/pi/MagicMirror/modules/MMM-WunderGround-PWS-Observations/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
            ]
            }
            [06.09.2022 14:20.08.730] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
            [06.09.2022 14:20.08.731] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
            [06.09.2022 14:20.09.319] [LOG] Launching application.
            [3525:0906/142010.469551:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
            [3555:0906/142010.766784:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
            [06.09.2022 14:20.24.644] [LOG] Shutting down server…
            [06.09.2022 14:20.24.650] [LOG] Stopping module helper: updatenotification
            [06.09.2022 14:20.24.652] [LOG] Stopping module helper: calendar
            [06.09.2022 14:20.24.653] [LOG] Stopping module helper: updatenotification
            [06.09.2022 14:20.24.655] [LOG] Stopping module helper: calendar
            [06.09.2022 14:20.24.657] [ERROR] Whoops! There was an uncaught exception…
            [06.09.2022 14:20.24.661] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
            at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
            at App. (/home/pi/MagicMirror/js/electron.js:145:7)
            at App.emit (node:events:526:28)
            at appMethod (node:electron/js2c/browser_init:69:1830)
            at Object.execute (node:electron/js2c/browser_init:69:5966)
            at MenuItem.click (node:electron/js2c/browser_init:73:1862)
            at a._executeCommand (node:electron/js2c/browser_init:81:2453)
            [06.09.2022 14:20.24.664] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
            [06.09.2022 14:20.24.666] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
            pi@raspberrypi:~/MagicMirror $
          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Volkae
            last edited by

            @Volkae said in Does not work:

            [06.09.2022 14:20.08.688] [ERROR] App threw an error during load
            [06.09.2022 14:20.08.695] [ERROR] Error: Cannot find module ‘request’

            hm… maybe not?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            V 1 Reply Last reply Reply Quote 0
            • V Offline
              Volkae @sdetweil
              last edited by

              @sdetweil
              I did the same procedure again, now it works!!

              Thanks a lot!!!

              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