Ultimatum22 / MMM-RandomBackground

Apache License 2.0
9 stars 9 forks source link

exif module missing #13

Closed jmarrazo closed 6 years ago

jmarrazo commented 6 years ago

So recently made a magic mirror and would like to have random images for the background I 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.