kolbyjack / MMM-Wallpaper

MagicMirror module to display wallpapers from various online sources
https://magicmirror.builders/
MIT License
99 stars 31 forks source link

Black screen - Module not found #50

Closed unknownuser26 closed 2 years ago

unknownuser26 commented 2 years ago

Hello, I downloaded the plugin according to the instructions and added the example configuration in my configuration. Magicmirror does not start anymore and only shows a black screen

`[20.10.2021 23:23.57.056] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request' Require stack: - /home/pi/MagicMirror/modules/MMM-Wallpaper/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js -  [20.10.2021 23:23.57.068] [ERROR] App threw an error during load [20.10.2021 23:23.57.071] [ERROR] Error: Cannot find module 'request' Require stack:

kolbyjack commented 2 years ago

The requests module was removed from the core magicmirror recently, so you'll need to

cd modules/MMM-Wallpaper
npm install

to install it

unknownuser26 commented 2 years ago

thanks thats works