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

    peggleg

    @peggleg

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    peggleg Unfollow Follow

    Latest posts made by peggleg

    • MMM-CalendarWeek (MODULE_NOT_FOUND) - MM2.15.0

      Hi,

      Could someone please advise why I am getting this error when trying to run MM with MMM-CalendarWeek configured?

      npm install does not seem to do enything when running within
      /home/pi/MagicMirror/modules/MMM-CalendarWeek

      npm start

      [06.06.2021 11:20.54.870] [LOG] Starting MagicMirror: v2.15.0
      [06.06.2021 11:20.54.879] [LOG] Loading config …
      [06.06.2021 11:20.54.892] [LOG] Loading module helpers …
      [06.06.2021 11:20.54.896] [LOG] No helper found for module: clock.
      [06.06.2021 11:20.55.807] [LOG] Initializing new module helper …
      [06.06.2021 11:20.55.808] [LOG] Module helper loaded: calendar
      [06.06.2021 11:20.55.898] [LOG] Initializing new module helper …
      [06.06.2021 11:20.55.900] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
      ***[06.06.2021 11:20.55.905] [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-CalendarWeek/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***

      [06.06.2021 11:20.55.907] [LOG] Loading module helpers …
      [06.06.2021 11:20.55.909] [LOG] No helper found for module: clock.
      [06.06.2021 11:20.55.910] [LOG] Initializing new module helper …
      [06.06.2021 11:20.55.912] [LOG] Module helper loaded: calendar
      [06.06.2021 11:20.55.913] [LOG] Initializing new module helper …
      [06.06.2021 11:20.55.914] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
      ********[06.06.2021 11:20.55.917] [ERROR] App threw an error during load
      [06.06.2021 11:20.55.921] [ERROR] Error: Cannot find module ‘valid-url’
      Require stack:

      • /home/pi/MagicMirror/modules/MMM-CalendarWeek/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 (internal/modules/cjs/loader.js:972:15)
        at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (internal/modules/cjs/loader.js:848:27)
        at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
        at Module.require (internal/modules/cjs/loader.js:1032:19)
        at require (internal/modules/cjs/helpers.js:72:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-CalendarWeek/node_helper.js:9:16)
        at Module._compile (internal/modules/cjs/loader.js:1152:30)
        at Object.Module._extensions…js (internal/modules/cjs/loader.js:1173:10)
        [06.06.2021 11:20.55.924] [ERROR] Whoops! There was an uncaught exception…
        [06.06.2021 11:20.55.934] [ERROR] Error: Cannot find module ‘valid-url’
        Require stack:
      • /home/pi/MagicMirror/modules/MMM-CalendarWeek/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 (internal/modules/cjs/loader.js:972:15)
        at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (internal/modules/cjs/loader.js:848:27)
        at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
        at Module.require (internal/modules/cjs/loader.js:1032:19)
        at require (internal/modules/cjs/helpers.js:72:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-CalendarWeek/node_helper.js:9:16)
        at Module._compile (internal/modules/cjs/loader.js:1152:30)
        at Object.Module._extensions…js (internal/modules/cjs/loader.js:1173:10) {
        code: ‘MODULE_NOT_FOUND’,
        requireStack: [
        ‘/home/pi/MagicMirror/modules/MMM-CalendarWeek/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
        ]
        }
        [06.06.2021 11:20.55.939] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        [06.06.2021 11:20.55.940] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        [06.06.2021 11:20.56.394] [LOG] Launching application.
      posted in Troubleshooting
      P
      peggleg