MagicMirror² v2.6.0 is available! For more information about this release, check out this topic.

MMMM-RandomBackground Help!!



  • 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. (/home/pi/MagicMirror/modules/MMM-RandomBackground/nod e_helper.js:3:17)
    
    at Object. (/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. (/home/pi/MagicMirror/modules/MMM-RandomBackground/nod e_helper.js:3:17)
    
    at Object. (/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.
    


  • @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



  • @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…



  • @cowboysdude I just cut/pasted from his post.



  • @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?