kolbyjack / MMM-Wallpaper

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

cannot find module 'jimp' #93

Closed goodale closed 10 months ago

goodale commented 10 months ago

Followed instructions for installation (cloning the repository and doing npm install) and get the error: [ERROR] (node:9912) UnhandledPromiseRejectionWarning: Error: Cannot find module 'jimp' Require stack:

kolbyjack commented 10 months ago

That module isn't referenced by MMM-Wallpaper, I have no idea where it would have come from.

goodale commented 10 months ago

ok, thanks. very strange as I wasn't getting the error until adding the MMM-Wallpaper module. I did an npm install jimp and the issue went away. I then got an error for jpeg-autorotate so also installed that via npm.

I no longer have errors and see the following in the logs. But no images display behind the calendar and clock

[14.08.2023 10:39.48.899] [INFO] BACKGROUNDSLIDESHOW: reading path "modules/MMM-BackgroundSlideshow/exampleImages/245718.jpg"

kolbyjack commented 10 months ago

That message appears to be for https://github.com/darickc/MMM-BackgroundSlideshow (which does reference jimp), not MMM-Wallpaper

goodale commented 10 months ago

my apologies - all good now. thanks!