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.

    Error: valid-url not found MMM-CalendarExt(2)

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 521 Views 2 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.
    • J Offline
      jamesarm
      last edited by

      Updated node to latest on rpi 4 and magic mirror to latest to try and fix GoogleTTS and now I am getting an error on both the CalendarExt and Ext2 modules. I removed and reinstalled them and same issue.

      0|mm | [03.10.2021 18:36.30.918] [ERROR] App threw an error during load
      0|mm | [03.10.2021 18:36.30.922] [ERROR]
      0|mm | Error: Cannot find module ‘valid-url’
      0|mm | Require stack:
      0|mm | - /home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js
      0|mm | - /home/pi/MagicMirror/js/app.js
      0|mm | - /home/pi/MagicMirror/js/electron.js
      0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|mm | -
      0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
      0|mm | at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
      0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|mm | at Module._load (internal/modules/cjs/loader.js:732:27)
      0|mm | at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
      0|mm | at Module.require (internal/modules/cjs/loader.js:959:19)
      0|mm | at require (internal/modules/cjs/helpers.js:88:18)
      0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js:3:18)
      0|mm | at Module._compile (internal/modules/cjs/loader.js:1078:30)
      0|mm | at Object.Module._extensions…js (internal/modules/cjs/loader.js:1108:10)
      0|mm | [03.10.2021 18:36.30.923] [ERROR] Whoops! There was an uncaught exception…
      0|mm | [03.10.2021 18:36.30.932] [ERROR]
      0|mm | Error: Cannot find module ‘valid-url’
      0|mm | Require stack:
      0|mm | - /home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js
      0|mm | - /home/pi/MagicMirror/js/app.js
      0|mm | - /home/pi/MagicMirror/js/electron.js
      0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

      0|mm | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’
      0|mm | Require stack:
      0|mm | - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
      0|mm | - /home/pi/MagicMirror/js/app.js
      0|mm | - /home/pi/MagicMirror/js/electron.js
      0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @jamesarm
        last edited by

        @jamesarm in the module folder do

        npm install valid-url --save

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        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