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.

    Issue with MMM-GoogleTrafficTimes: Google Traffic Module

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 3 Posters 804 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 @ethanmaxim
      last edited by

      @ethanmaxim what’s the error?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • E Offline
        ethanmaxim @ethanmaxim
        last edited by

        @ethanmaxim This is what the terminal spits out:

        [2024-04-16 16:55:07.682] [LOG]   Starting MagicMirror: v2.27.0 
        [2024-04-16 16:55:07.781] [LOG]   Loading config ... 
        [2024-04-16 16:55:07.784] [LOG]   config template file not exists, no envsubst 
        [2024-04-16 16:55:07.788] [LOG]   Loading module helpers ... 
        [2024-04-16 16:55:07.790] [LOG]   No helper found for module: alert. 
        [2024-04-16 16:55:08.044] [LOG]   Initializing new module helper ... 
        [2024-04-16 16:55:08.045] [LOG]   Module helper loaded: updatenotification 
        [2024-04-16 16:55:08.046] [LOG]   No helper found for module: clock. 
        [2024-04-16 16:55:08.078] [LOG]   Initializing new module helper ... 
        [2024-04-16 16:55:08.080] [LOG]   Module helper loaded: MMM-OnSpotify 
        [2024-04-16 16:55:08.372] [LOG]   Initializing new module helper ... 
        [2024-04-16 16:55:08.373] [LOG]   Module helper loaded: MMM-Wallpaper 
        [2024-04-16 16:55:08.518] [LOG]   Initializing new module helper ... 
        [2024-04-16 16:55:08.518] [LOG]   Module helper loaded: calendar 
        [2024-04-16 16:55:08.553] [LOG]   Initializing new module helper ... 
        [2024-04-16 16:55:08.554] [LOG]   Module helper loaded: mmm-nest-status 
        [2024-04-16 16:55:08.554] [LOG]   No helper found for module: compliments. 
        [2024-04-16 16:55:08.555] [LOG]   No helper found for module: weather. 
        [2024-04-16 16:55:09.387] [ERROR] (node:461193) UnhandledPromiseRejectionWarning: Error: Cannot find module 'core-js/modules/es.string.replace.js'
        Require stack:
        - /home/ethanc/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/url-signature/dist/index.umd.js
        - /home/ethanc/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/serialize.js
        - /home/ethanc/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/directions.js
        - /home/ethanc/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/client.js
        - /home/ethanc/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/geolocate.js
        - /home/ethanc/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/google-maps-services-js/dist/index.js
        - /home/ethanc/MagicMirror/modules/MMM-GoogleTrafficTimes/node_helper.js
        - /home/ethanc/MagicMirror/js/app.js
        - /home/ethanc/MagicMirror/js/electron.js
            at Module._resolveFilename (node:internal/modules/cjs/loader:1055:15)
            at s._resolveFilename (node:electron/js2c/browser_init:2:115476)
            at Module._resolveFilename (/home/ethanc/MagicMirror/node_modules/module-alias/index.js:49:29)
            at Module._load (node:internal/modules/cjs/loader:908:27)
            at c._load (node:electron/js2c/node_init:2:13672)
            at Module.require (node:internal/modules/cjs/loader:1122:19)
            at require (node:internal/modules/helpers:130:18)
            at /home/ethanc/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/url-signature/dist/index.umd.js:1:79
            at Object.<anonymous> (/home/ethanc/MagicMirror/modules/MMM-GoogleTrafficTimes/node_modules/@googlemaps/url-signature/dist/index.umd.js:1:807)
            at Module._compile (node:internal/modules/cjs/loader:1256:14)
            at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
            at Module.load (node:internal/modules/cjs/loader:1098:32)
            at Module._load (node:internal/modules/cjs/loader:945:12)
            at c._load (node:electron/js2c/node_init:2:13672)
            at Module.require (node:internal/modules/cjs/loader:1122:19)
            at require (node:internal/modules/helpers:130:18)
        (Use `electron --trace-warnings ...` to show where the warning was created) 
        [2024-04-16 16:55:09.394] [ERROR] (node:461193) 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) 
        [461368:0416/165511.309048:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.312293:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.316548:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.316877:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.317708:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.318247:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.319188:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.319768:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.320776:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.324256:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.324844:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.325187:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.325682:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.325976:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.333326:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.333741:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.334416:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.334818:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.335390:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.336180:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.348688:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.349704:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.350541:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.353427:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.356675:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.357100:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [461368:0416/165511.358117:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2)
        [461368:0416/165511.364225:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
        [2024-04-16 16:55:12.797] [INFO]  System information:
        ### SYSTEM:   manufacturer: ; model: ; raspberry: undefined; virtual: false
        ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.26-v8+
        ### VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 18.19.0; npm: 9.2.0; pm2: 5.3.1
        ### OTHER:    timeZone: America/Los_Angeles; ELECTRON_ENABLE_GPU: undefined 
        ^C/home/ethanc/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
        
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @ethanmaxim
          last edited by

          @ethanmaxim did you have it working then upgrade?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil No i’ve never gotten this module to work properly. it keeps throwing off this error. Ive checked everything and cant seem to find why. API is valid etc etc.

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

              @sdetweil try these steps in the module folder

              1000025657.jpg

              don’t need yarn install

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @ethanmaxim it’s a packaging error

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  ethanmaxim @sdetweil
                  last edited by

                  @sdetweil Just followed this im still getting the identical error as before :/

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    ethanmaxim @sdetweil
                    last edited by

                    @sdetweil No luck still. same error as before

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

                      @ethanmaxim bummer. module is broken

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        HarrieV
                        last edited by

                        Could be a faulty installation…

                        At the 3rd Party Modules page on GitHub you’ll find 2 different versions of the MMM-GoogleTrafficTimes module; an old one from pjestico and a newer one from Jacopo1891.

                        I couldn’t get the Jacopo1891 version working, so I tried the pjestico version (on MacOS), and got the following error at installation:

                        npm ERR! Your cache folder contains root-owned files, due to a bug in
                        npm ERR! previous versions of npm which has since been addressed.
                        npm ERR! 
                        npm ERR! To permanently fix this problem, please run:
                        npm ERR!   sudo chown -R 501:20 "/Users/harriev/.npm"
                        

                        It fixed the problem indeed, the module worked fine afterwards.
                        Then, I removed the old module, installed the Jacopo1891 version and that
                        worked as well.

                        1 Reply Last reply Reply Quote 1
                        • S sdetweil has marked this topic as solved on
                        • 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