Read the statement by Michael Teeuw here.
Issue with MMM-GoogleTrafficTimes: Google Traffic Module
-
Hi,
I have been struggling with getting this module to work after many attemps. This is the only module I havent been able to get work. I wanted to see if anyone can notice a dumb issue I may be not seeing. I’ve been going crazy trying to get this to work and I keep getting an error when running it.
{ module: 'MMM-GoogleTrafficTimes', position: 'top_left', config: { key: 'AIzaSyBgXWdpBmbL-pMhx95YNNM7fT_mutMKuts', origin: '11111 Inglewood Blvd Los Angeles CA 90040', destinations: [ { name: "Work", address: "2000 E 7th Place Los Angeles 90021" }, ], updateInterval: 900000, avoidHighways: false, avoidTolls: false, mode: 'driving', language: "en-EN", offsetTime: 25, lastUpdate: true, timeLastUpdateWarning: 1, horizontalLayout: false, schedules: [], debug: false } },
-
@ethanmaxim what’s the error?
-
@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
-
@ethanmaxim did you have it working then upgrade?
-
@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.
-
@sdetweil try these steps in the module folder
don’t need yarn install
-
@ethanmaxim it’s a packaging error
-
@sdetweil Just followed this im still getting the identical error as before :/
-
@sdetweil No luck still. same error as before
-
@ethanmaxim bummer. module is broken