MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Ernst-Jan
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    E
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 23
    • Groups 0

    Posts

    Recent Best Controversial
    • MMM-MyCommute

      Can you help me to understand this error?.

      0|mm | Connecting socket for: MMM-MyCommute
      0|mm | ====================== Starting node_helper for module [MMM-MyCommute]
      0|mm | Sockets connected & modules started …
      0|mm | Launching application.

      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | (node:8956) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | (node:8956) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): TypeError: Cannot read property ‘refs’ of undefined
      0|mm | MMM-NetworkScanner received CONFIG

      posted in Troubleshooting
      E
      Ernst-Jan
    • RE: MMM-GoogleMapsTraffic freezes Magic Mirror

      I have te same probleem with the error MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined.

      Do some one now what that means

      posted in Transport
      E
      Ernst-Jan
    • MMM-GoogleMapsTraffic is resumed

      Hi all,
      when i start with npm start dev.
      I see the following error.

      InvalidValueError: unknown property orgin js:51:110
      Jc https://maps.googleapis.com/maps/api/js?key=API KEYc:51
      Lc https://maps.googleapis.com/maps/api/js?key=API KEY:51
      Yh https://maps.googleapis.com/maps-api-v3/api/js/35/10a/directions.js:129
      route https://maps.googleapis.com/maps/api/js?key=API KEY:196

      The MM does show the correct part of the road map I have selected.
      I also have MMM-Route enabled with the same API.

      {
      module: “MMM-GoogleMapsTraffic”,
      position: “center”,
      config: {
      key: “API Key”,
      lat: 53.098853,
      lng: 6.176025,
      height: “600px”,
      width: “600px”,
      zoom: 12,
      updateInterval: 300000
      }
      },
      {
      module: “MMM-google-route”,
      position: “bottom_right”,
      header: “”,
      config: {
      //height: ‘150px’,
      //width: ‘300px’,
      key: “API KEY”,
      mapOptions: {

      			},
      			directionsRequest: {
      				orgin: "Drachten",
      				destination: "Schiedam",
      			},
      			listen: [
      				
      			]
      		}
      	}
      ],
      
      posted in Bug Hunt
      E
      Ernst-Jan
    • RE: MMM Remote Controle - starting issus

      Starting MagicMirror: v2.6.0
      Loading config …
      WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
      Loading module helpers …
      Initializing new module helper …
      Module helper loaded: updatenotification
      No helper found for module: helloworld.
      All module helpers loaded.
      Starting server on port 8080 …
      Server started …
      Connecting socket for: updatenotification
      Sockets connected & modules started …
      Whoops! There was an uncaught exception…
      { Error: listen EADDRINUSE 127.0.0.1:8080
      at Object._errnoException (util.js:1024:11)
      at _exceptionWithHostPort (util.js:1046:20)
      at Server.setupListenHandle [as _listen2] (net.js:1351:14)
      at listenInCluster (net.js:1392:12)
      at GetAddrInfoReqWrap.doListen [as callback] (net.js:1501:7)
      at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10)
      code: ‘EADDRINUSE’,
      errno: ‘EADDRINUSE’,
      syscall: ‘listen’,
      address: ‘127.0.0.1’,
      port: 8080 }
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      Launching application.

      main.js:343 Config file is missing! Please create a config file.
      loadConfig @ main.js:343
      19:03:05.148

      posted in Troubleshooting
      E
      Ernst-Jan
    • RE: MMM Remote Controle - starting issus

      @sdetweil said in MMM Remote Controle - starting issus:

      npm start dev

      /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js

      posted in Troubleshooting
      E
      Ernst-Jan
    • RE: MMM Remote Controle - starting issus

      @ernst-jan said in MMM Remote Controle - starting issus:

      npm/logs
      0 info it worked if it ends with ok
      1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’, ‘dev’ ]
      2 info using npm@5.6.0
      3 info using node@v9.11.2
      4 verbose stack Error: missing script: start
      4 verbose stack at run (/usr/lib/node_modules/npm/lib/run-script.js:151:19)
      4 verbose stack at /usr/lib/node_modules/npm/lib/run-script.js:61:5
      4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:115:5
      4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:402:5
      4 verbose stack at checkBinReferences
      (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:357:45)
      4 verbose stack at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:400:3)
      4 verbose stack at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:160:5)
      4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:348:12
      4 verbose stack at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
      4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:525:3)
      5 verbose cwd /home/pi/.local/share/Trash/files/MMM-Remote-Control/MMM-Remote-Control
      6 verbose Linux 4.14.79-v7+
      7 verbose argv “/usr/bin/node” “/usr/bin/npm” “start” “dev”
      8 verbose node v9.11.2
      9 verbose npm v5.6.0
      10 error missing script: start
      11 verbose exit [ 1, true ]

      posted in Troubleshooting
      E
      Ernst-Jan
    • RE: MMM Remote Controle - starting issus

      @ernst-jan
      npm ERR! missing script: start

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2019-01-31T17_06_55_736Z-debug.log

      posted in Troubleshooting
      E
      Ernst-Jan
    • MMM Remote Controle - starting issus

      Is there a way to see whats wrong with the config of your last module.

      My last module is remote controle.

      I have set address: 0.0.0.0, and ipWhitelist: [],

      {
      module: ‘MMM-Remote-Control’
      // uncomment the following line to show the URL of the remote control on the mirror
      position: ‘bottom_left’
      // you can hide this module afterwards from the remote control itself
      }
      },
      When i start with pm2 start mm i see only this error. When i remove te module MM start normal.

      0|mm | Starting MagicMirror: v2.6.0
      0|mm | Loading config …
      0|mm | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
      0|mm | Loading module helpers …
      0|mm | Initializing new module helper …
      0|mm | Module helper loaded: updatenotification
      0|mm | No helper found for module: helloworld.
      0|mm | All module helpers loaded.
      0|mm | Starting server on port 8080 …
      0|mm | Server started …
      0|mm | Connecting socket for: updatenotification
      0|mm | Sockets connected & modules started …
      0|mm | Launching application.

      posted in Troubleshooting
      E
      Ernst-Jan
    • RE: MMM-SoccerLiveScore no pictures

      Update line:
      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
      0|mm | code: ‘EAI_AGAIN’,
      0|mm | errno: ‘EAI_AGAIN’,
      0|mm | syscall: ‘getaddrinfo’,
      0|mm | hostname: ‘www.speedtest.net’,
      0|mm | host: ‘www.speedtest.net’,
      0|mm | port: 443 }
      0|mm | { Error: socket hang up
      0|mm | at createHangUpError (_http_client.js:331:15)
      0|mm | at TLSSocket.socketCloseListener (_http_client.js:363:23)
      0|mm | at emitOne (events.js:121:20)
      0|mm | at TLSSocket.emit (events.js:211:7)
      0|mm | at _handle.close (net.js:554:12)
      0|mm | at TCP.done [as _onclose] (_tls_wrap.js:356:7) code: ‘ECONNRESET’ }
      0|mm | [939:0129/080105.502591:FATAL:bus.cc(1152)] D-Bus connection was disconnected. Aborting.

      posted in Bug Hunt
      E
      Ernst-Jan
    • MMM-SoccerLiveScore no pictures

      Goodmoring, Sometimes i have this error im my pm2 log mm.
      Can someone exxplane to my wat this main and what to do to fixed this.

      at Request._callback (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:36:30)
      0|mm | at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
      0|mm | at emitOne (events.js:116:13)
      0|mm | at Request.emit (events.js:211:7)
      0|mm | at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:877:8)
      0|mm | at emitOne (events.js:116:13)
      0|mm | at ClientRequest.emit (events.js:211:7)
      0|mm | at TLSSocket.socketErrorListener (_http_client.js:387:9)
      0|mm | at emitOne (events.js:116:13)
      0|mm | at TLSSocket.emit (events.js:211:7)

      posted in Bug Hunt
      E
      Ernst-Jan
    • 1 / 1