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

    Posts

    Recent Best Controversial
    • Problems with MMM-iCal-ToDO

      Hello Community, I integrated the MMM-iCal-ToDo Module to the config.js and get the following Error. Does everyone know what to do?

      Steps:

      1. directory modules:
        git clone https://github.com/nixnuex/MMM-iCal-ToDo.git

      2. directory modules:
        npm install

      3. edit config/config.js: Just for Test (without Link to iCal)

                {
                         module: "MMM-iCal-ToDo",
                         position: "bottom_left",        // This can be any of the regions. Best results in left or right regions.
                         config: {
                                 // The config property is optional.
                                 // If no config is set, an example todo is shown.
                                 // See 'Configuration options' for more information.
                         }
                 },
        
      4. Error log after npm run start:

      pi@DevRasp:~/MagicMirror/config $ npm run start

      magicmirror@2.18.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      [09.01.2022 09:23.45.186] [LOG] Starting MagicMirror: v2.18.0
      [09.01.2022 09:23.45.193] [LOG] Loading config …
      [09.01.2022 09:23.45.204] [LOG] Loading module helpers …
      [09.01.2022 09:23.45.207] [LOG] No helper found for module: alert.
      [09.01.2022 09:23.45.225] [LOG] Initializing new module helper …
      [09.01.2022 09:23.45.226] [LOG] Module helper loaded: updatenotification
      [09.01.2022 09:23.45.228] [LOG] No helper found for module: clock.
      [09.01.2022 09:23.45.384] [LOG] Initializing new module helper …
      [09.01.2022 09:23.45.386] [LOG] Module helper loaded: calendar
      [09.01.2022 09:23.45.390] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘valid-url’
      Require stack:

      • /home/pi/MagicMirror/modules/MMM-iCal-ToDo/node_helper.js
      • /home/pi/MagicMirror/js/app.js
      • /home/pi/MagicMirror/js/electron.js
      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

      [09.01.2022 09:23.45.391] [LOG] Loading module helpers …
      [09.01.2022 09:23.45.392] [LOG] No helper found for module: alert.
      [09.01.2022 09:23.45.393] [LOG] Initializing new module helper …
      [09.01.2022 09:23.45.394] [LOG] Module helper loaded: updatenotification
      [09.01.2022 09:23.45.395] [LOG] No helper found for module: clock.
      [09.01.2022 09:23.45.396] [LOG] Initializing new module helper …
      [09.01.2022 09:23.45.397] [LOG] Module helper loaded: calendar
      [09.01.2022 09:23.45.399] [ERROR] App threw an error during load
      [09.01.2022 09:23.45.402] [ERROR] Error: Cannot find module ‘valid-url’
      Require stack:

      • /home/pi/MagicMirror/modules/MMM-iCal-ToDo/node_helper.js
      • /home/pi/MagicMirror/js/app.js
      • /home/pi/MagicMirror/js/electron.js
      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      • at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
        at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:785:27)
        at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
        at Module.require (node:internal/modules/cjs/loader:1012:19)
        at require (node:internal/modules/cjs/helpers:94:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-iCal-ToDo/node_helper.js:11:16)
        at Module._compile (node:internal/modules/cjs/loader:1116:14)
        at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10)
        [09.01.2022 09:23.45.403] [ERROR] Whoops! There was an uncaught exception…
        [09.01.2022 09:23.45.409] [ERROR] Error: Cannot find module ‘valid-url’
        Require stack:
      • /home/pi/MagicMirror/modules/MMM-iCal-ToDo/node_helper.js
      • /home/pi/MagicMirror/js/app.js
      • /home/pi/MagicMirror/js/electron.js
      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      • at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
        at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:785:27)
        at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
        at Module.require (node:internal/modules/cjs/loader:1012:19)
        at require (node:internal/modules/cjs/helpers:94:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-iCal-ToDo/node_helper.js:11:16)
        at Module._compile (node:internal/modules/cjs/loader:1116:14)
        at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10) {
        code: ‘MODULE_NOT_FOUND’,
        requireStack: [
        ‘/home/pi/MagicMirror/modules/MMM-iCal-ToDo/node_helper.js’,
        ‘/home/pi/MagicMirror/js/app.js’,
        ‘/home/pi/MagicMirror/js/electron.js’,
        ‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
        undefined
        ]
        }

      Thanks for helping…

      posted in Troubleshooting
      T
      Toto
    • 1 / 1