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-Newsfeedticker Error

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 2 Posters 6.7k 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.
    • S Do not disturb
      sdetweil @pgwr
      last edited by

      @pgwr please use code block around config and errors

      paste text
      empty line above and below
      select pasted text
      hit </> button for code block wrapper

      I fixed this time

      error
      Screenshot_20231228_164222_Chrome.jpg

      yes module is missing a library we used to ship
      but wasn’t documented

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

      fix is (the same for any missing lib, there are 8 I think)
      cd to the module folder
      npm install valid-url

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 4 Replies Last reply Reply Quote 0
      • P Offline
        pgwr @sdetweil
        last edited by

        @sdetweil thanks much!

        1 Reply Last reply Reply Quote 0
        • P Offline
          pgwr @sdetweil
          last edited by

          @sdetweil checked the list and installed valid-url. Same result. Hmmmm…

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @pgwr
            last edited by

            @pgwr show the errors again.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • P Offline
              pgwr @sdetweil
              last edited by

              @sdetweil

              > magicmirror@2.25.0 start
              > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
              
              [29.12.2023 11:26.31.512] [LOG]   Starting MagicMirror: v2.25.0
              [29.12.2023 11:26.31.517] [LOG]   Loading config ...
              [29.12.2023 11:26.31.520] [DEBUG] config template file not exists, no envsubst
              [29.12.2023 11:26.31.524] [LOG]   Loading module helpers ...
              [29.12.2023 11:26.31.526] [LOG]   No helper found for module: alert.
              [29.12.2023 11:26.31.555] [LOG]   Initializing new module helper ...
              [29.12.2023 11:26.31.555] [LOG]   Module helper loaded: updatenotification
              [29.12.2023 11:26.31.556] [LOG]   No helper found for module: clock.
              [29.12.2023 11:26.31.713] [LOG]   Initializing new module helper ...
              [29.12.2023 11:26.31.714] [LOG]   Module helper loaded: calendar
              [29.12.2023 11:26.31.715] [LOG]   No helper found for module: weather.
              [29.12.2023 11:26.31.719] [LOG]   Initializing new module helper ...
              [29.12.2023 11:26.31.719] [LOG]   Module helper loaded: MMM-MyScoreboard
              [29.12.2023 11:26.31.750] [ERROR] (node:271795) UnhandledPromiseRejectionWarning: Error: Cannot find module 'request'
              Require stack:
              - /home/xxxxxxxx/MagicMirror/modules/MMM-NewsFeedTicker/fetcher.js
              - /home/xxxxxxxx/MagicMirror/modules/MMM-NewsFeedTicker/node_helper.js
              - /home/xxxxxxxx/MagicMirror/js/app.js
              - /home/xxxxxxxx/MagicMirror/js/electron.js
              - /home/xxxxxxxx/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
              - 
                  at node:internal/modules/cjs/loader:1084:15
                  at Function.<anonymous> (node:electron/js2c/browser_init:2:117419)
                  at Module._resolveFilename (/home/xxxxxxxx/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.<anonymous> (/home/xxxxxxxx/MagicMirror/modules/MMM-NewsFeedTicker/fetcher.js:9:15)
                  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 Object.<anonymous> (/home/xxxxxxxx/MagicMirror/modules/MMM-NewsFeedTicker/node_helper.js:10:15)
              (Use `electron --trace-warnings ...` to show where the warning was created)
              [29.12.2023 11:26.31.751] [ERROR] (node:271795) 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)
              [271828:1229/112632.791848:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.792586:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.793028:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.793413:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.793786:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.794156:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.794523:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.796415:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.796862:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.797250:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.797619:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.797990:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.798355:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              [271828:1229/112632.798715:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)
              ^C/home/xxxxxxxx/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
              
              S 1 Reply Last reply Reply Quote 0
              • P Offline
                pgwr @sdetweil
                last edited by

                @sdetweil Resubmitted the error log. Hopefully did the code block correctly.
                Thanks

                1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @pgwr
                  last edited by

                  @pgwr said in MMM-Newsfeedticker Error:

                  [29.12.2023 11:26.31.750] [ERROR] (node:271795) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘request’

                  yep

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pgwr @pgwr
                    last edited by

                    @pgwr okay, missed that. So sounds like i need to install the request module in the newsfeedticker module folder. I assume

                    npm install request

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @pgwr
                      last edited by

                      @pgwr yes, as I said there are multiple missing libraries, all get corrected the same way

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pgwr @pgwr
                        last edited by

                        @pgwr thanks…

                        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