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.

    After Update to 2.15, MM ist black.

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 2 Posters 273 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.
    • T Offline
      TheBassfly
      last edited by

      Hey, I just updated my MagicMirror to V 2.15.
      Now I have a Black screen and the Terminal got me some errors:

      Maybe someone could give me a hint, or should I downgrade back t 2.14

      [28.05.2021 12:22.53.756] [LOG] Loading module helpers …
      [28.05.2021 12:22.53.759] [LOG] Initializing new module helper …
      [28.05.2021 12:22.53.761] [LOG] Module helper loaded: updatenotification
      [28.05.2021 12:22.53.763] [LOG] No helper found for module: clock.
      [28.05.2021 12:22.53.765] [LOG] Initializing new module helper …
      [28.05.2021 12:22.53.767] [LOG] Module helper loaded: MMM-DarkSkyForecast
      [28.05.2021 12:22.53.769] [LOG] No helper found for module: MMM-Homematic.
      [28.05.2021 12:22.53.771] [LOG] No helper found for module: MMM-EasyBack.
      [28.05.2021 12:22.53.776] [LOG] Initializing new module helper …
      [28.05.2021 12:22.53.780] [LOG] Module helper loaded: newsfeed
      [28.05.2021 12:22.53.790] [ERROR] App threw an error during load
      [28.05.2021 12:22.53.812] [ERROR] Error: Cannot find module ‘valid-url’
      Require stack:

      • /home/pi/MagicMirror/modules/MMM-CalendarExt2/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:798:15)
        at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (internal/modules/cjs/loader.js:691:27)
        at Function.Module._load (electron/js2c/asar.js:748:26)
        at Module.require (internal/modules/cjs/loader.js:853:19)
        at require (internal/modules/cjs/helpers.js:74:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:3:18)
        at Module._compile (internal/modules/cjs/loader.js:968:30)
        at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10)
        [28.05.2021 12:22.53.822] [ERROR] Whoops! There was an uncaught exception…
        [28.05.2021 12:22.53.835] [ERROR] Error: Cannot find module ‘valid-url’
        Require stack:
      • /home/pi/MagicMirror/modules/MMM-CalendarExt2/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:798:15)
        at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (internal/modules/cjs/loader.js:691:27)
        at Function.Module._load (electron/js2c/asar.js:748:26)
        at Module.require (internal/modules/cjs/loader.js:853:19)
        at require (internal/modules/cjs/helpers.js:74:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:3:18)
        at Module._compile (internal/modules/cjs/loader.js:968:30)
        at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10) {
        code: ‘MODULE_NOT_FOUND’,
        requireStack: [
        ‘/home/pi/MagicMirror/modules/MMM-CalendarExt2/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
        ]
        }
        [28.05.2021 12:22.53.845] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        [28.05.2021 12:22.53.848] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
        [28.05.2021 12:22.54.416] [LOG] Launching application.
        [28.05.2021 12:22.54.496] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @TheBassfly
        last edited by

        @thebassfly said in After Update to 2.15, MM ist black.:

        Cannot find module ‘valid-url’

        this library was removed from mm in 2.15 because of security risks.

        some module u are using is using it, but did not declare it in their package.json file dependencies section

        do

        cd MagicMirror
        npm install valid-url

        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