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.

    Additional backslashes (\) being added on module install, module cannot be found

    Scheduled Pinned Locked Moved Solved Troubleshooting
    3 Posts 2 Posters 699 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.
    • L Offline
      LMAC
      last edited by LMAC

      I keep getting Module Not Found errors for certain modules. So far it has happened on CalanderWeekly, Calendar EXT and CalendarEXT2. Every other module I have installed works fine. It looks like the path is being injected with an addition backslash which errors out. Any insight?

      I should also add I am running with “node serveronly” command on windows.

      Here is the log:

      [05.11.2021 20:19.01.432] [LOG] Starting MagicMirror: v2.17.1
      [05.11.2021 20:19.01.435] [LOG] Loading config …
      [05.11.2021 20:19.01.439] [LOG] Loading module helpers …
      [05.11.2021 20:19.01.440] [LOG] No helper found for module: alert.
      [05.11.2021 20:19.01.446] [LOG] Initializing new module helper …
      [05.11.2021 20:19.01.447] [LOG] Module helper loaded: updatenotification
      [05.11.2021 20:19.01.447] [LOG] No helper found for module: clock.
      [05.11.2021 20:19.01.448] [LOG] No helper found for module: calendar_monthly.
      [05.11.2021 20:19.01.510] [LOG] Initializing new module helper …
      [05.11.2021 20:19.01.511] [LOG] Module helper loaded: calendar
      [05.11.2021 20:19.01.515] [LOG] Initializing new module helper …
      [05.11.2021 20:19.01.516] [LOG] Module helper loaded: WallberryTheme
      [05.11.2021 20:19.01.516] [LOG] No helper found for module: weather.
      [05.11.2021 20:19.01.521] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’
      Require stack:

      • C:****\MMM\modules\MMM-CalendarExt2\node_helper.js
      • C:****\MMM\js\app.js
      • C:****\MMM\serveronly\index.js
        [05.11.2021 20:19.01.522] [LOG] Loading module helpers …
        [05.11.2021 20:19.01.522] [LOG] No helper found for module: alert.
        [05.11.2021 20:19.01.522] [LOG] Initializing new module helper …
        [05.11.2021 20:19.01.523] [LOG] Module helper loaded: updatenotification
        [05.11.2021 20:19.01.523] [LOG] No helper found for module: clock.
        [05.11.2021 20:19.01.523] [LOG] No helper found for module: calendar_monthly.
        [05.11.2021 20:19.01.524] [LOG] Initializing new module helper …
        [05.11.2021 20:19.01.524] [LOG] Module helper loaded: calendar
        [05.11.2021 20:19.01.525] [LOG] Initializing new module helper …
        [05.11.2021 20:19.01.525] [LOG] Module helper loaded: WallberryTheme
        [05.11.2021 20:19.01.526] [LOG] No helper found for module: weather.
        [05.11.2021 20:19.01.529] [ERROR] Whoops! There was an uncaught exception…
        [05.11.2021 20:19.01.532] [ERROR] Error: Cannot find module ‘request’
        Require stack:
      • C:****\MMM\modules\MMM-CalendarExt2\node_helper.js
      • C:****\MMM\js\app.js
      • C:*\MMM\serveronly\index.js
        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
        at Function.Module._resolveFilename (C:*
        \MMM\node_modules\module-alias\index.js:49:29)
        at Function.Module._load (node:internal/modules/cjs/loader:778:27)
        at Module.require (node:internal/modules/cjs/loader:1005:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at Object. (C:*\MMM\modules\MMM-CalendarExt2\node_helper.js:4:17)
        at Module._compile (node:internal/modules/cjs/loader:1101:14)
        at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10)
        at Module.load (node:internal/modules/cjs/loader:981:32)
        at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
        code: ‘MODULE_NOT_FOUND’,
        requireStack: [
        'C:\
        \MMM\modules\MMM-CalendarExt2\node_helper.js’,
        'C:\
        \MMM\js\app.js’,
        'C:\
        *\MMM\serveronly\index.js’
        ]
        }
        [05.11.2021 20:19.01.533] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
        [05.11.2021 20:19.01.533] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      S 1 Reply Last reply Reply Quote 0
      • L Offline
        LMAC @sdetweil
        last edited by

        @sdetweil

        Did the trick. Thank you!

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

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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            LMAC @sdetweil
            last edited by

            @sdetweil

            Did the trick. Thank you!

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 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