paviro / MMM-FRITZ-Box-Callmonitor

This an extension for the MagicMirror. It provides a callmonitor for FRITZ!Box users alerting them about incoming calls.
29 stars 24 forks source link

Module not shown anymore after update to MagicMirror v2.13.0 #42

Open PieBa opened 3 years ago

PieBa commented 3 years ago

Hi, after updating my MagicMirror to v2.13.0, i got this error:

Uncaught TypeError: Cannot read property 'replace' of undefined
    at cmpVersions (module.js:528)
    at Function.Module.register (module.js:506)
    at MMM-FRITZ-Box-Callmonitor.js:12

As a workaround I added a comment in front of line 12 of file MMM-FRITZ-Box-Callmonitor.js Now the module shows up again.

MMM-FRITZ-Box-Callmonitor.js after adding comments:

/* global Module */

/* Magic Mirror
 * Module: MMM-FRITZ-Box-Callmonitor
 *
 * By Paul-Vincent Roll http://paulvincentroll.com
 * MIT Licensed.
 */

Module.register("MMM-FRITZ-Box-Callmonitor", {

    // requiresVersion: "2.0.0",        <-- add // at the beginning of this line

    // Default module config.
    defaults: {
        numberFontSize: 30,
        vCard: false,
        fritzIP: "192.168.178.1",
        fritzPort: 1012,

I hope this helps someone.