• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMMM-RandomBackground Help!!

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 4 Posters 2.4k Views 3 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.
  • C Offline
    cjmaverick
    last edited by cjmaverick Nov 21, 2018, 7:19 PM Nov 19, 2018, 3:33 PM

    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 Offline
      sdetweil
      last edited by Nov 19, 2018, 4:20 PM

      @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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • C Offline
        cowboysdude Module Developer
        last edited by cowboysdude Nov 20, 2018, 3:35 AM Nov 20, 2018, 3:35 AM

        @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 Nov 20, 2018, 3:20 PM Reply Quote 1
        • S Offline
          sdetweil @cowboysdude
          last edited by Nov 20, 2018, 3:20 PM

          @cowboysdude I just cut/pasted from his post.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Nov 21, 2018, 12:24 AM Reply Quote 0
          • B Offline
            bhepler Module Developer @sdetweil
            last edited by Nov 21, 2018, 12:24 AM

            @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
            1 / 1
            • First post
              4/5
              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