• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Problems with MMM-iCal-ToDO

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 3 Posters 380 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.
  • T Offline
    Toto
    last edited by Jan 9, 2022, 8:26 AM

    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…

    S 1 Reply Last reply Jan 9, 2022, 12:34 PM Reply Quote 0
    • S Offline
      sdetweil @Toto
      last edited by Jan 9, 2022, 12:34 PM

      @toto see
      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • N Offline
        nixnuex
        last edited by Jun 12, 2022, 12:05 PM

        Fixed dependencies in v1.1.0 https://github.com/nixnuex/MMM-iCal-ToDo

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • 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