Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED MMMM-RandomBackground Help!!

    Troubleshooting
    4
    5
    964
    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.
    • C
      cjmaverick last edited by cjmaverick

      So recently made a magic mirror and would like to have random images for the https://bluestacks.vip/ found the MMMM-RandomBackground and installed it. However now magic mirror doesnt work and this is the error I am getting. Was wondering if anyone could help me trouble shoot this issue. Thanks.

      Starting MagicMirror: v2.4.1
      
      Loading config ...
      
      Loading module helpers ...
      
      No helper found for module: alert.
      
      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'exif'
      
      Loading module helpers ...
      
      No helper found for module: alert.
      
      App threw an error during load
      
      Error: Cannot find module 'exif'
      
      at Module._resolveFilename (module.js:543:15)
      
      at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/elect ron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      
      at Function.Module._load (module.js:473:25)
      
      at Module.require (module.js:586:17)
      
      at require (internal/module.js:11:18)
      
      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-RandomBackground/nod e_helper.js:3:17)
      
      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-RandomBackground/nod e_helper.js:58:3)
      
      at Module._compile (module.js:642:30)
      
      at Object.Module._extensions..js (module.js:653:10)
      
      at Module.load (module.js:561:32)
      
      Whoops! There was an uncaught exception...
      
      { Error: Cannot find module 'exif'
      
      at Module._resolveFilename (module.js:543:15)
      
      at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/elect ron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      
      at Function.Module._load (module.js:473:25)
      
      at Module.require (module.js:586:17)
      
      at require (internal/module.js:11:18)
      
      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-RandomBackground/nod e_helper.js:3:17)
      
      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-RandomBackground/nod e_helper.js:58:3)
      
      at Module._compile (module.js:642:30)
      
      at Object.Module._extensions..js (module.js:653:10)
      
      at Module.load (module.js:561:32) code: 'MODULE_NOT_FOUND' }
      
      MagicMirror will not quit, but it might be a good idea to check why this happene d. Maybe no internet connection?
      
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      Launching application.
      
      1 Reply Last reply Reply Quote 0
      • S
        sdetweil last edited by

        @cjmaverick said in MMMM-RandomBackground Help!!:

        WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘exif’

        looks like you might not have done a npm install in the mm/modules/MMMM-RandomBackground folder to install the dependencies for the module

        1 Reply Last reply Reply Quote 0
        • cowboysdude
          cowboysdude Project Sponsor Module Developer last edited by cowboysdude

          @sdetweil said in MMMM-RandomBackground Help!!:

          MMMM-RandomBackground

          Wellllllllll for starters it’s MMM-RandomBackground and not MMMM…

          So …I would try npm install in MagicMirror/modules/MMM-RandomBackground …

          Because I am seeing this " at Module.load (module.js:561:32) code: ‘MODULE_NOT_FOUND’ "

          If you did a ‘git clone’ the dir should be right and perhaps you put in your config wrong…

          S 1 Reply Last reply Reply Quote 1
          • S
            sdetweil @cowboysdude last edited by

            @cowboysdude I just cut/pasted from his post.

            bhepler 1 Reply Last reply Reply Quote 0
            • bhepler
              bhepler Project Sponsor @sdetweil last edited by

              @sdetweil - Okay, I can understand the confusion then. So… did you get it working now that you know you have to 1) get the name correct in the config.js file and 2) run npm install in the module folder?

              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy